wood burning stoves 2.0*
The moose likes JavaFX and the fly likes Add JFXPanel in JApplet Java SE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JavaFX
Bookmark "Add JFXPanel in JApplet Java SE" Watch "Add JFXPanel in JApplet Java SE" New topic

Add JFXPanel in JApplet Java SE

Dmitriy Logov

Joined: Feb 05, 2012
Posts: 4
How can I add JFXPanel to my applet?
I read the instructions and it did not help me:

I added JFXPanel and the program compiles just fine
import javafx.embed.swing.JFXPanel;
JFXPanel fxPanel = new JFXPanel();

With parameters: javac -classpath "C:\Program Files\Oracle\JavaFX 2.0 SDK\rt\lib\jfxrt.jar" C:\test.java

But when I try to run the program, I get an error: java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel

I asked a question on stackoverflow site. But no one could help me
subject: Add JFXPanel in JApplet Java SE
Similar Threads
Java FX in Swing!
JavaFX 2.0 problem in integrating into GUI
Is JavaFX only for internet applications?
Opening a website like facebook or twitter within java GUI
mini web browser: browse pages be only b&w not in color