Bug 443063 - Classes in javafx.embed.swt cannot be resolved before manually adding the jfxswt.jar.
Summary: Classes in javafx.embed.swt cannot be resolved before manually adding the jfx...
Status: NEW
Alias: None
Product: Efxclipse
Classification: Technology
Component: Tooling (show other bugs)
Version: 1.0.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-02 04:24 EDT by Matthias Wienand CLA
Modified: 2014-10-09 04:28 EDT (History)
0 users

See Also:


Attachments
When starting the 4.4.0 e(fx)clipse distribution JFX/SWT interop is not working. (124.64 KB, image/png)
2014-10-09 04:25 EDT, Matthias Wienand CLA
no flags Details
This is how I added the jfxswt.jar manually. (172.80 KB, image/png)
2014-10-09 04:27 EDT, Matthias Wienand CLA
no flags Details
After adding jfxswt.jar the JFX/SWT interop works. (157.59 KB, image/png)
2014-10-09 04:28 EDT, Matthias Wienand CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Wienand CLA 2014-09-02 04:24:10 EDT
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.
Comment 1 Thomas Schindl CLA 2014-10-07 07:11:36 EDT
The classes should resolve at the very moment you do an import on javafx.embed.swt, not?
Comment 2 Matthias Wienand CLA 2014-10-09 04:25:30 EDT
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.
Comment 3 Matthias Wienand CLA 2014-10-09 04:27:22 EDT
Created attachment 247744 [details]
This is how I added the jfxswt.jar manually.
Comment 4 Matthias Wienand CLA 2014-10-09 04:28:07 EDT
Created attachment 247745 [details]
After adding jfxswt.jar the JFX/SWT interop works.