|
|
|
|
Re: Modality of JavaFX dialogs within Eclipse application [message #1747583 is a reply to message #1740769] |
Wed, 16 November 2016 04:00  |
Eclipse User |
|
|
|
Hi!
I've had the same problem and found the bug mentioned by Tom too. Until it eventually gets fixed, I've implemented a workaround (see attached file).
I create an invisible SWT-dialog and use its ShellActivate/ShellDeactivate events to bring the JavaFx Dialog to front. There is a timing issue when the JavaFx Dialog is closed. This is circumvented by a nasty Thread.sleep(). Maybe someone has a better suggestion...
The attached file is a modified SamplePart from the e4 new-project wizard. It creates a WebView, adds a context menu and opens a web site.
Regards,
Markus
|
|
|
Powered by
FUDForum. Page generated in 0.02449 seconds