public class JFXUtils
extends java.lang.Object
Constructor and Description |
---|
JFXUtils() |
Modifier and Type | Method and Description |
---|---|
static boolean |
invokeAndWait(java.lang.Runnable runnable)
Causes
runnable.run() to be executed synchronously on the framework event dispatching thread. |
public static boolean invokeAndWait(java.lang.Runnable runnable) throws java.lang.Throwable
runnable.run()
to be executed synchronously on the framework event dispatching thread.
Platform.runLater(java.lang.Runnable)
and wait for the resultrunnable
- the runnablejava.lang.Throwable
- if the execution lead to an exception