Re:Re: Re: Question about Netbeans platform application with JavaFX
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 At 2022-01-12 13:10:16, "Geertjan Wielenga" wrote: You’ll need to describe in detail what doesn’t work. Gj On Wed, 12 Jan 2022 at 06:09, 王东华 wrote: Thank you very much. This book talk about JavaFX with Netbeans and Java 8, I know how to use JavaFX with Netbeans and Java 8. Now, our envrionment is: JavaFX 17, Netbeans 12.6 and Java 11, it doesn't work. At 2022-01-12 12:45:43, "Geertjan Wielenga" wrote: https://www.amazon.com/JavaFX-Client-Programming-NetBeans-Platform/dp/0321927710 Gj On Wed, 12 Jan 2022 at 04:05, Chuck Davis wrote: Check out Module javafx.swing in the JavaFX documentation. It's how I got started on JavaFX. On Tue, Jan 11, 2022 at 5:59 PM 王东华 wrote: Dear, I am investigating how to develop with Netbeans 12.6. I create a Netbeans platform application and I want to use JavaFX 17 in the application, our JDK is AWS Cretto 11.0.13. Unfortunately, I can not integrate JavaFX in the Netbeans Platform application. I know how to integrate JavaFX in Java Application, but I can not integrated JavaFX into Netbeans Platfrom Application with the same way. Do you have any idea about it? Looking forward to your reply.
Re:Re: Question about Netbeans platform application with JavaFX
Thank you very much! This sample shows how to use JavaFX with Eclipse Java Application. I know how to use JavaFX with Eclipse Java Application. I want to know how to use JavaFX 17 in Netbeans Platform Application with Java 11. At 2022-01-12 11:05:17, "Chuck Davis" wrote: Check out Module javafx.swing in the JavaFX documentation. It's how I got started on JavaFX. On Tue, Jan 11, 2022 at 5:59 PM 王东华 wrote: Dear, I am investigating how to develop with Netbeans 12.6. I create a Netbeans platform application and I want to use JavaFX 17 in the application, our JDK is AWS Cretto 11.0.13. Unfortunately, I can not integrate JavaFX in the Netbeans Platform application. I know how to integrate JavaFX in Java Application, but I can not integrated JavaFX into Netbeans Platfrom Application with the same way. Do you have any idea about it? Looking forward to your reply.
Re: Re: Question about Netbeans platform application with JavaFX
You’ll need to describe in detail what doesn’t work. Gj On Wed, 12 Jan 2022 at 06:09, 王东华 wrote: > Thank you very much. > This book talk about JavaFX with Netbeans and Java 8, I know how to use > JavaFX with Netbeans and Java 8. > Now, our envrionment is: JavaFX 17, Netbeans 12.6 and Java 11, it doesn't > work. > > > > > > > At 2022-01-12 12:45:43, "Geertjan Wielenga" > wrote: > > > https://www.amazon.com/JavaFX-Client-Programming-NetBeans-Platform/dp/0321927710 > > Gj > > On Wed, 12 Jan 2022 at 04:05, Chuck Davis wrote: > >> Check out Module javafx.swing in the JavaFX documentation. >> It's how I got started on JavaFX. >> >> On Tue, Jan 11, 2022 at 5:59 PM 王东华 wrote: >> >>> Dear, >>> >>> I am investigating how to develop with Netbeans 12.6. I create a >>> Netbeans platform application and I want to use JavaFX 17 in the >>> application, our JDK is AWS Cretto 11.0.13. Unfortunately, I can not >>> integrate JavaFX in the Netbeans Platform application. >>> >>> I know how to integrate JavaFX in Java Application, but I can not >>> integrated JavaFX into Netbeans Platfrom Application with the same way. >>> >>> Do you have any idea about it? Looking forward to your reply. >>> >>> >>> >>> >>> >> > > >
Re:Re: Question about Netbeans platform application with JavaFX
Thank you very much. This book talk about JavaFX with Netbeans and Java 8, I know how to use JavaFX with Netbeans and Java 8. Now, our envrionment is: JavaFX 17, Netbeans 12.6 and Java 11, it doesn't work. At 2022-01-12 12:45:43, "Geertjan Wielenga" wrote: https://www.amazon.com/JavaFX-Client-Programming-NetBeans-Platform/dp/0321927710 Gj On Wed, 12 Jan 2022 at 04:05, Chuck Davis wrote: Check out Module javafx.swing in the JavaFX documentation. It's how I got started on JavaFX. On Tue, Jan 11, 2022 at 5:59 PM 王东华 wrote: Dear, I am investigating how to develop with Netbeans 12.6. I create a Netbeans platform application and I want to use JavaFX 17 in the application, our JDK is AWS Cretto 11.0.13. Unfortunately, I can not integrate JavaFX in the Netbeans Platform application. I know how to integrate JavaFX in Java Application, but I can not integrated JavaFX into Netbeans Platfrom Application with the same way. Do you have any idea about it? Looking forward to your reply.
Re: Question about Netbeans platform application with JavaFX
https://www.amazon.com/JavaFX-Client-Programming-NetBeans-Platform/dp/0321927710 Gj On Wed, 12 Jan 2022 at 04:05, Chuck Davis wrote: > Check out Module javafx.swing in the JavaFX documentation. > It's how I got started on JavaFX. > > On Tue, Jan 11, 2022 at 5:59 PM 王东华 wrote: > >> Dear, >> >> I am investigating how to develop with Netbeans 12.6. I create a Netbeans >> platform application and I want to use JavaFX 17 in the application, our >> JDK is AWS Cretto 11.0.13. Unfortunately, I can not integrate JavaFX in the >> Netbeans Platform application. >> >> I know how to integrate JavaFX in Java Application, but I can not >> integrated JavaFX into Netbeans Platfrom Application with the same way. >> >> Do you have any idea about it? Looking forward to your reply. >> >> >> >> >> >
Re: Question about Netbeans platform application with JavaFX
Check out Module javafx.swing in the JavaFX documentation. It's how I got started on JavaFX. On Tue, Jan 11, 2022 at 5:59 PM 王东华 wrote: > Dear, > > I am investigating how to develop with Netbeans 12.6. I create a Netbeans > platform application and I want to use JavaFX 17 in the application, our > JDK is AWS Cretto 11.0.13. Unfortunately, I can not integrate JavaFX in the > Netbeans Platform application. > > I know how to integrate JavaFX in Java Application, but I can not > integrated JavaFX into Netbeans Platfrom Application with the same way. > > Do you have any idea about it? Looking forward to your reply. > > > > >
Question about Netbeans platform application with JavaFX
Dear, I am investigating how to develop with Netbeans 12.6. I create a Netbeans platform application and I want to use JavaFX 17 in the application, our JDK is AWS Cretto 11.0.13. Unfortunately, I can not integrate JavaFX in the Netbeans Platform application. I know how to integrate JavaFX in Java Application, but I can not integrated JavaFX into Netbeans Platfrom Application with the same way. Do you have any idea about it? Looking forward to your reply.