Update JavaFX in JFXPanel while EDT is blocked
lehmann at media-interactive.de
Fri Jun 15 12:32:03 PDT 2012
is there a way to force a JFXPanel to update itself while the EDT is
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
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...
More information about the openjfx-dev