Java.lang.illegalstateexception not on fx application thread

- Java.lang.illegalstateexception not on fx application thread currentthread = main
- Java.lang.illegalstateexception not on fx application thread currentthread = thread-3
- Java.lang.illegalstateexception not on fx application thread currentthread = thread-4
- Exception in thread main java.lang.illegalstateexception
- Javafx thread