views:

456

answers:

2

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?

+1  A: 
jsight
Short and sweet.
CPerkins
FYI: It is completely unsupported, uses private APIs, and almost certainly will break in the next version.
Rastislav Komara
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
I think so. For now the best way how to do this is just wait.
Rastislav Komara