我有一个创建类图形的类PlayerScreen,我想从类MainGUI运行它,但我一直收到java.lang.IllegalStateException: This operation is permittedon the event thread only; currentThread = mainimport javafx.stage.Stagestage;}
我尝试用screen.launch(args);和Application.launch(args);代
//empty loop, just to spend time a = a+2; }我在我的MainActivity上这样称呼他们两个:protected void onCreate(Bundle savedInstanceState){ new B().execute();我以为结果会是概率和均数