mirror of
https://github.com/This-weiyuqing/javaAutoScore.git
synced 2026-10-18 03:03:42 +08:00
final2
add timetesk before final last
This commit is contained in:
1 parent
67e90a7679
commit
8c4a4a4cea
11 files changed
+30
-4
No files matched your search
@@ -8,9 +8,20 @@
|
||||
|
||||
package autoScore;
|
||||
|
||||
import java.util.Timer;
|
||||
import java.util.TimerTask;
|
||||
|
||||
public class useInDemo {
|
||||
public static void main(String[] args) {
|
||||
userIn GUI=new userIn();
|
||||
//System.out.println(userIn.getStudentNumber());
|
||||
//add timetask to set user time
|
||||
new Timer().schedule(new TimerTask() {
|
||||
@Override
|
||||
public void run() {
|
||||
System.out.println("stop question");
|
||||
System.exit(0);
|
||||
}
|
||||
},6000);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user