示例#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();
 }
示例#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();
 }
示例#3
0
 public void setGoldOn(boolean t) {
   goldBlink = false;
   goldOn = t;
   goldTimer.stop();
   goldLabel.setOpaque(true);
   if (t) colorGoldOn();
   else colorGoldOff();
 }
示例#4
0
 public void setBlueOn(boolean t) {
   blueBlink = false;
   blueOn = t;
   blueTimer.stop();
   blueLabel.setOpaque(true);
   if (t) colorBlueOn();
   else colorBlueOff();
 }