|
@ -14,7 +14,7 @@ public class loadNextQuestion implements ActionListener { |
|
|
if (e.getSource() == GameGui.AnswersBtn1) { |
|
|
if (e.getSource() == GameGui.AnswersBtn1) { |
|
|
loadQuestions(); |
|
|
loadQuestions(); |
|
|
} else { |
|
|
} else { |
|
|
System.exit(0); |
|
|
|
|
|
|
|
|
wrongAnswer(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -23,7 +23,7 @@ public class loadNextQuestion implements ActionListener { |
|
|
if (e.getSource() == GameGui.AnswersBtn2) { |
|
|
if (e.getSource() == GameGui.AnswersBtn2) { |
|
|
loadQuestions(); |
|
|
loadQuestions(); |
|
|
} else { |
|
|
} else { |
|
|
System.exit(0); |
|
|
|
|
|
|
|
|
wrongAnswer(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -32,7 +32,7 @@ public class loadNextQuestion implements ActionListener { |
|
|
if (e.getSource() == GameGui.AnswersBtn3) { |
|
|
if (e.getSource() == GameGui.AnswersBtn3) { |
|
|
loadQuestions(); |
|
|
loadQuestions(); |
|
|
} else { |
|
|
} else { |
|
|
System.exit(0); |
|
|
|
|
|
|
|
|
wrongAnswer(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -41,7 +41,7 @@ public class loadNextQuestion implements ActionListener { |
|
|
if (e.getSource() == GameGui.AnswersBtn4) { |
|
|
if (e.getSource() == GameGui.AnswersBtn4) { |
|
|
loadQuestions(); |
|
|
loadQuestions(); |
|
|
} else { |
|
|
} else { |
|
|
System.exit(0); |
|
|
|
|
|
|
|
|
wrongAnswer(); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|