Community
Participate
Working Groups
I downloaded the Luna e(fx)clipse distribution from the addons website and tried to use the JavaFX/SWT interoperability. But the respective classes cannot be resolved by the IDE (when coding). In order to be able to use javafx.embed.swt.FXCanvas, I added the jfxswt.jar as an external library to the 'installed JRE' of that eclipse distribution.
The classes should resolve at the very moment you do an import on javafx.embed.swt, not?
Created attachment 247743 [details] When starting the 4.4.0 e(fx)clipse distribution JFX/SWT interop is not working. I added a screenshot where you can see that the classes do not resolve. I will add two additional screenshots showing how to add the jfxswt.jar and that the classes indeed resolve afterwards.
Created attachment 247744 [details] This is how I added the jfxswt.jar manually.
Created attachment 247745 [details] After adding jfxswt.jar the JFX/SWT interop works.