public void setLedBlinking ( final boolean LED_BLINKING ) { ledBlinking = LED_BLINKING ; if ( LED_BLINKING ) { LED_BLINKING_TIMER . start ( ) ; } else { setCurrentLedImage ( getLedImageOff ( ) ) ; LED_BLINKING_TIMER . stop ( ) ; } }
Sets the state of the threshold led . The led could blink which will be triggered by a javax . swing . Timer that triggers every 500 ms . The blinking will be done by switching between two images .