解决选项默认问题 #4

Merged
p95fco63j merged 4 commits from junmao_branch into develop 3 months ago

@ -1,6 +1,6 @@
import controller.AppController;
public class Main {
public class Main {
public static void main(String[] args) {
new AppController(); // 启动控制器
}

@ -49,6 +49,8 @@ public class QuizPanel extends JPanel {
showResult();
return;
}
//解决进入下一题后会默认选择前一题的选项问题
group.clearSelection();
Question q = questions.get(currentIndex);
questionLabel.setText("第 " + (currentIndex + 1) + " 题:" + q.questionText);
for (int i = 0; i < 4; i++) {

Loading…
Cancel
Save