Пример #1
0
 public void actionPerformed(ActionEvent ae) {
   if (userPoints.getGamePhase()) {
     move2phase2button.setVisible(true);
     move2phase2button.setText(phase21msg);
     timerForf2Button.stop();
   }
 }
Пример #2
0
 public void actionPerformed(ActionEvent ae) {
   if (start) {
     count--;
     if (count == 0) timerCountdonFrom60.stop();
     changingLabel1.setText(
         runningOut
             + count
             + " seconds"
             + " , You have to take more  "
             + userPoints.getPoints()
             + " cubes !");
   }
 }