Update JavaFX in JFXPanel while EDT is blocked
Werner Lehmann
lehmann at media-interactive.de
Fri Jun 15 12:32:03 PDT 2012
Hi,
is there a way to force a JFXPanel to update itself while the EDT is
blocked?
This is my situation: on startup the Swing application shows a login
screen with a progress bar. This login screen is a JFXPanel and the
progress bar is a JavaFX control. In the background lots of
initializations are going on, and much of this should run on the EDT.
Therefore it is executing within SwingUtilties.invokeAndWait - but that
also seems to block updates to the JFXPanel and the progressbar is not
updated.
Maybe I can force an immediate repaint of the progressbar only? After
all, I am running two GUI toolkits at the same time, both with their own
GUI threads, so I'd like to take advantage of that...
Thx.
Werner
More information about the openjfx-dev
mailing list