Dear,
Our development environment: Netbeans IDE 12.6, JavaFX 17, Java 11
I have create a Netbeans Platform Application and want to use JavaFX,
I have add JavaFX jar into the wrapped jars, and there are no compile error for 
JavaFX in Netbeans IDE,
However, when I run the application, IDE will show following exception:
java.lang.RuntimeException: No toolkit found
at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:276)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:291)
at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:163)
at javafx.embed.swing.JFXPanel.lambda$initFx$1(JFXPanel.java:225)
[catch] at java.base/java.lang.Thread.run(Thread.java:829)
And I don't know how to add -module-path and --add-modules for Netbeans 
Platform Application

Reply via email to