mirror of
https://github.com/This-weiyuqing/javaAutoScore.git
synced 2026-10-18 03:03:42 +08:00
Update mainTextDemo.java
This commit is contained in:
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);*/
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user