Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
FX.deferAction(new Function0<Void>() { @Override public Void invoke() { //Some code here return null; } });
我将代码从 javafx 1.3 转换为 javafx 2.1,但我遇到了这个问题。javafx 2.1中这个问题的解决方案是什么?
javafx.application.Platform.runLater(new Runnable() { public void run() { // some code here } });