code: 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);
          }
      }
docs: Run the task into the JavaFX Application Thread [JAT].
  
  @param runnable the task to run