i am developing a java swing application but i want to also use java fx with swing is there any resource for that told how to do that?
Short and sweet.
CPerkins
2009-08-27 03:59:38
FYI: It is completely unsupported, uses private APIs, and almost certainly will break in the next version.
Rastislav Komara
2009-08-27 06:51:18
A:
The "JavaFX in Swing" link given above only works with JavaFX 1.1. Here is how to do it in JavaFX 1.2 JavaFX in Swing - 1.2. However, as Rastislav mentioned above, this is also using private APIs and will most likely break in the next major version. JFXtras has added some classes to support this, and hopefully, this will insulate the developer from the underlying release changes.
JimClarke
2009-08-27 13:41:46