当计时器达到零时,我试图从窗格中删除元素,更具体地说,是一个标签和一个文本区域。但是,当计时器达到0时,我调用这个方法,就会得到这个异常。Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: Not on FX application thread;AWT-EventQueue-0ActionListener timeListener = new ActionListener() {
:491) at com.mchange.v2.c3p0.impl.NewPooledConnection.close(NewPooledConnection.java:191) at com.mchange.v2:470) at com.mchange.v2.resourcepool.BasicResourcePool$1DestroyResourceTask.run(BasicResourcePool.javaat com.mchange关闭.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(Thr