public void mousePressed(MouseEvent e) {
}
public void notifyListeners() {
SwitchEvent ev = new SwitchEvent(this, state ? SwitchEvent.PRESSED
: SwitchEvent.RELEASED);
if (state == STATE_PRESSED) {
for (Enumeration<SwitchListener> e = listeners.elements(); e
.hasMoreElements();) {
e.nextElement().switchPressed(ev);