Update JavaFX in JFXPanel while EDT is blocked
Richard Bair
richard.bair at oracle.com
Fri Jun 15 13:33:19 PDT 2012
>> Probably showing JavaFX in its own stage is the best approach?
>
> Well, the stage is shown as part of a JFrame. So I can only think of a
> JavaFX Popup in just the right position. Which will be fun when users
> start to resize or move the window... Or did you have something else in mind?
OK, I was thinking the entire login screen would be a separate window and all javaFX, and then it would launch the Swing app and then you could hide the JavaFX window when login completed.
>> break up the Swing init to occur over multiple events or force
>> rendering at certain points
>
> I'd recommend the former to myself but it is not going to happen soon.
> Legacy code. How can I force rendering?
I've forgotten the Swing magic to be honest, I bet Jasper remembers (but I'm sure the web remembers if you look for it).
Richard
More information about the openjfx-dev
mailing list