is JavaFX Thread - Java JavaFX

Java examples for JavaFX:JavaFX Thread

Description

is JavaFX Thread

Demo Code


//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();
    }
}

Related Tutorials