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 } });
--------------------------------------------------------------------------------------------------------------------------------------------
作者:Honey_Badger —— 觉得这文章好,点一下左下角
出处:http://tk55.cnblogs.com/
posted on 2018-11-07 17:18 Honey_Badger 阅读(984) 评论(0) 编辑 收藏 举报