Update mainTextDemo.java

This commit is contained in:
weiyuqing committed 2020-06-26 19:44:07 +08:00
1 parent 8c4a4a4cea
commit 878c8c7644
1 file changed
+3 -5
@@ -9,21 +9,19 @@
package autoScore; package autoScore;
import java.io.IOException; import java.io.IOException;
import java.util.Timer;
import java.util.TimerTask;
public class mainDo{ public class mainTextDemo {
public static void main(String[] args) throws IOException { public static void main(String[] args) throws IOException {
//int score=0; //int score=0;
mainGUI gui=new mainGUI(); mainGUI gui=new mainGUI();
//添加答题计时功能 //添加答题计时功能
new Timer().schedule(new TimerTask() { /* new Timer().schedule(new TimerTask() {
@Override @Override
public void run() { public void run() {
System.out.println("stop question"); System.out.println("stop question");
System.exit(0); System.exit(0);
} }
},10000); },10000);*/
} }
} }