public static void runIntoJAT(final JRebirthRunnable runnable) {
        if (Platform.isFxApplicationThread()) {
            // We are into a JAT so just run it synchronously
            runnable.run();
        } else {
            // The runnable will be run into the JAT during the next round
            Platform.runLater(runnable);
        }
    }
public static void runIntoJAT ( final JRebirthRunnable runnable ) { if ( Platform . isFxApplicationThread ( ) ) { runnable . run ( ) ; } else { Platform . runLater ( runnable ) ; } }
Run the task into the JavaFX Application Thread [JAT].

@param runnable the task to run