Flashable is a basic interface to enable flashing in any component.
Internally it uses
Animator to create the flashing effect.
Whenever a Flashable is installed to a JComponent, you can always use
Flashable.isFlashableInstalled(javax.swing.JComponent) to check if it is installed.
Inner Class :static class FlashTimer extends Timer implements ActionListener
Sets the inteveral, in ms. If the flashing is running, the new interval will take effect immediately. By default, it is 300 ms.
Parameters: interval - the new interval.
Unstalls the Flashable from the component. Once uninstalled,
you have to create a new Flashable in order to use the flahsing feature again. If you just want to stop flashing,
you should use
Flashable.stopFlashing() .