示例#1
0
 private void enableAnswerButtons() {
   //
   buttonAnswer1.setEnabled(true);
   buttonAnswer2.setEnabled(true);
   buttonAnswer3.setEnabled(true);
   buttonAnswer4.setEnabled(true);
 }
示例#2
0
 private void disableAnswerButtons() {
   //
   buttonAnswer1.setEnabled(false);
   buttonAnswer2.setEnabled(false);
   buttonAnswer3.setEnabled(false);
   buttonAnswer4.setEnabled(false);
 }