Not on FX application thread; currentThread = AWT-EventQueue-0的解决方法
swing awt跑javafx报了这问题
Not on FX application thread; currentThread = AWT-EventQueue-0
解决方法
Platform.runLater(new Runnable() { @Override public void run() { //javaFX operations should go here } });