mirror of
https://github.com/This-weiyuqing/javaAutoScore.git
synced 2026-10-17 18:55:31 +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;
|
||||
|
||||
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 {
|
||||
//int score=0;
|
||||
mainGUI gui=new mainGUI();
|
||||
//添加答题计时功能
|
||||
new Timer().schedule(new TimerTask() {
|
||||
/* new Timer().schedule(new TimerTask() {
|
||||
@Override
|
||||
public void run() {
|
||||
System.out.println("stop question");
|
||||
System.exit(0);
|
||||
}
|
||||
},10000);
|
||||
},10000);*/
|
||||
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user