|Re: Eclipse 4 / SWT-JFace / JavaFX [message #1219352 is a reply to message #1219349]
||Tue, 03 December 2013 13:46
| Thomas Schindl
Registered: July 2009
On 03.12.13 14:42, Joseph Gagnon wrote:|
>> You are not able embed SWT in JavaFX, only the other way is possible!
> I must have worded it poorly. I'm not trying to embed SWT in JavaFX, but
> the reverse in order to have the SWT/JFace dialog behavior with the
> dialog's UI rendered via JavaFX. However, this may be moot considering
> the next item.
The problem is that then there 2 toolkits attached to the same event
loop. IIRC when you embed JavaFX in SWT, SWT has to be the one started
first which is not the case if you are launching an e4-fx application
where JavaFX comes first!
>> b) Are really the JFace-Dialogs are the blocker? There are plenty of
> external projects who provide JavaFX-Dialogs (including e(fx)clipse!)
> Yes, this is the blocker for me at this point. I need to be able to
> display modal dialogs and I can't figure out how to do it with JavaFX. I
> tried to find examples where someone had implemented a dialog with
> JavaFX, but found very little that was helpful. I didn't think it could
> be done (without a little help from other technologies such as JFace).
> If you could point me to sources where this is being done, that would
> help considerably.
This is dead simple even to implement yourself but nothing we should
bother this list with because it is JavaFX/e(fx)clipse related.
Powered by FUDForum
. Page generated in 0.01714 seconds