Java examples for JavaFX:JavaFX Thread
is JavaFX Thread
//package com.java2s; import javafx.application.Platform; public class Main { public static void main(String[] argv) throws Exception { System.out.println(isJFXThread()); }/* w w w . j a va 2s . com*/ public static boolean isJFXThread() { return Platform.isFxApplicationThread(); } }