mirror of
https://github.com/This-weiyuqing/javaAutoScore.git
synced 2026-10-17 18:55:31 +08:00
finale3
no change
This commit is contained in:
1 parent
878c8c7644
commit
7981d29dc9
7 files changed
+7
-2
No files matched your search
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -99,6 +99,8 @@ public class mainGUI extends JFrame implements ActionListener {
|
||||
public void actionPerformed(ActionEvent e) {
|
||||
//int用来存储现在是第几题
|
||||
//int whatQuestionW;
|
||||
if (whatQuestion < 1) {
|
||||
|
||||
|
||||
// for (whatQuestionW = 0; whatQuestionW < 1; whatQuestionW++) {
|
||||
//int whatQuestionW =0;
|
||||
@@ -146,21 +148,24 @@ public class mainGUI extends JFrame implements ActionListener {
|
||||
whatQuestion = whatQuestionW++;
|
||||
whatQuestionW = whatQuestionW++;
|
||||
}
|
||||
} else
|
||||
//whatQuestionW++;
|
||||
// }
|
||||
//这里写最后结果被写入文件夹啊
|
||||
{
|
||||
try {
|
||||
String studetnNum = new String();
|
||||
scoreToTxt(userIn.getStudentNumber(), scoreUser);
|
||||
System.out.println(userIn.getStudentNumber());
|
||||
//dispose();
|
||||
//System.exit(0);
|
||||
System.exit(0);
|
||||
|
||||
} catch (IOException ioException) {
|
||||
ioException.printStackTrace();
|
||||
System.out.println("抛出异常1");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -22,6 +22,6 @@ public class useInDemo {
|
||||
System.out.println("stop question");
|
||||
System.exit(0);
|
||||
}
|
||||
},6000);
|
||||
},10000);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user