你好,我试图让 javafx8 在 Windows 10 java 8 eclipse 最新版本上运行 Witn processing 3
但是我收到这个错误
java.lang.IllegalStateException: This operation is permitted on the event thread only; currentThread = main at com.sun.glass.ui.Application.checkEventThread(Application.java:443) at com.sun.glass.ui.Window.getScreen(Window.java:403) at com.sun.javafx.tk.quantum.WindowStage.setBounds(WindowStage.java:289) at javafx.stage.Window$TKBoundsConfigurator.apply(Window.java:1292) at javafx.stage.Window.applyBounds(Window.java:1182) at javafx.stage.Window.centerOnScreen(Window.java:283) at processing.javafx.PSurfaceFX.placeWindow(PSurfaceFX.java:574) at processing.core.PApplet.runSketch(PApplet.java:10849) at processing.core.PApplet.main(PApplet.java:10562) at processing.core.PApplet.main(PApplet.java:10544) at processingfxnew.SirpenskiTriangle.main(SirpenskiTriangle.java:13)
并且处理草图没有出现在 javafx windows 选项卡中我不知道如何解决这个问题
茅侃侃
相关分类