Beispiel #1
0
 public void setGoldBlink(int dwell) {
   goldBlink = true;
   goldOn = true;
   goldTimer.stop();
   goldTimer.setInitialDelay(dwell);
   goldTimer.setDelay(dwell);
   goldTimer.start();
   goldLabel.setOpaque(true);
   colorGoldOn();
 }
Beispiel #2
0
 public void setBlueBlink(int dwell) {
   blueBlink = true;
   blueOn = true;
   blueTimer.stop();
   blueTimer.setInitialDelay(dwell);
   blueTimer.setDelay(dwell);
   blueTimer.start();
   blueLabel.setOpaque(true);
   colorBlueOn();
 }
Beispiel #3
0
 public void setGoldOn(boolean t) {
   goldBlink = false;
   goldOn = t;
   goldTimer.stop();
   goldLabel.setOpaque(true);
   if (t) colorGoldOn();
   else colorGoldOff();
 }
Beispiel #4
0
 public void setBlueOn(boolean t) {
   blueBlink = false;
   blueOn = t;
   blueTimer.stop();
   blueLabel.setOpaque(true);
   if (t) colorBlueOn();
   else colorBlueOff();
 }