gleidsonmt / dashboardfx Goto Github PK
View Code? Open in Web Editor NEWJavaFx Dashboard
Home Page: https://gleidsonmt.github.io/
License: GNU General Public License v3.0
JavaFx Dashboard
Home Page: https://gleidsonmt.github.io/
License: GNU General Public License v3.0
Inside the module-info
, add the property:
exports code.Models;
Brother, how would you do to implement Spring boot. would you be so kind to set an example
Where can I get the icons used in SVGPath?
Hi, Gleidson28
I have this issue when I try to run the app, I get these exceptions below:
Exception in Application start method
Exception in Application start method
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:473)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:372)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at java.base/sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:1051)
Caused by: java.lang.RuntimeException: Exception in Application start method
at javafx.graphics/com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:973)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:198)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.NoClassDefFoundError: com/sun/javafx/css/converters/PaintConverter
at com.gn.decorator.buttons.Close$StyleableProperties.(Close.java:88)
at com.gn.decorator.buttons.Close.(Close.java:66)
at com.gn.decorator.GNDecorator.(GNDecorator.java:84)
at com.gn.App.start(App.java:41)
at javafx.graphics/com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:919)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runAndWait$11(PlatformImpl.java:449)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$9(PlatformImpl.java:418)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at javafx.graphics/com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:417)
at javafx.graphics/com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
at javafx.graphics/com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at javafx.graphics/com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:175)
... 1 more
Caused by: java.lang.ClassNotFoundException: com.sun.javafx.css.converters.PaintConverter
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 13 more
Exception running application com.gn.App
GNCarousel can not find
in Carousel.java
LauncherImpl can not find
in App.java
I imported your code into IDEA, I can't compile your project, I am missing a lot of things. Can you ask what your build environment is?
Hi @Gleidson28,
As I am curious to see new features and controls added in DashboardV2, but unable to open it properly.
I feel sort of silly here, but I'm 100% new to JavaFX and only a little familiar with Gradle and I can't even figure out how to run this app, lol. The readme doesn't really cover this, so I've tried running all sorts of Gradle tasks, but they all either error or do nothing. gradlew test
for example fails on a clean clone of the repo.
Error occurred during initialization of boot layer
java.lang.RuntimeException: Unable to parse --add-opens <module>/<package>: io.github.gleidsonmt.dashboardfx/
I was able to create a DashboardFx-1.0.jar
with gradlew jar
, but I have no idea how to run it. JavaFx's docs say gradlew run
should work, but that errors
Execution failed for task ':run'.
> 'java.lang.String org.gradle.api.tasks.JavaExec.getMain()'
Running gradlew build
returns the same error as above.
I tried running the jar with java -jar
, but there is no main class in the manifest. So I tried running it with
java -cp build\libs\DashboardFx-1.0.jar io.github.gleidsonmt.dashboardfx.Start
but that just errors with
Error: Could not find or load main class io.github.gleidsonmt.dashboardfx.Start
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application
so there's clearly more needed. Sorry if this is a silly question, but I have no earthly idea what magic thing I need to do just to get this up and running to play with it. Thanks!
java.io.FileNotFoundException on dashboad.fxml
com.gn.control.DrawerContent
com.gn.control.DrawerList
and so on.
It seems that Scene Builder can't open some .fxml files in this project ,eg. Carousel.fxml. I found that this seems to be due to the fact that scene builder does not recognize the components in GNCarousel. Please tell me how you solved this problem.
The gradlew.bat
file references the non-existent jar
set CLASSPATH=%APP_HOME%\gradle\wrapper2\gradle-wrapper2.jar
and calls the non-existent main class
org.gradle.wrapper2.GradleWrapperMain
Gradle seems to run if I remove the 2
's so was this just some testing that got committed on accident?
I ran previously shared simple javafx project but currently missing some libraries to run that project again. Also it looks like that project has been removed from gihub.
I will be thank full on providing any guidance related to this.
Thank you
Hi @Gleidson28,
can get the new DashboardV2 please
Imported Project into IDEA and imported library. But Couldn't execute
even after importing the libraries, the IDE complains about not finding GNDecoratorT and DashApp classes
DashboardFx.exe
by jpackage gen . Because ModuleLayer.boot()
can't find the project module.DashboardFx.bat
entrypoint.A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.