The ability to wrap a swing component in a javaFX application seems to have vanished from javaFX 2:
javafx.ext.swing.SwingComponent
is not there any more in javaFX 2 beta API.
Is there still a way to do this in the new API?
SwingNode class is used to embed a Swing content into a JavaFX application. Here is the link.
There is 3rd-party support library, see http://rkennke.wordpress.com/2011/11/16/swing-in-javafx-demo/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With