Advanced UI/src/com/samples/toolkit/ui/component/LabeledSwitch.java
/**
     * Toggles the state of the switch
     */
Toggles the state of the switch
Toggles the state of the switch
private void toggle()
    {
        _on = !_on;
        invalidate();
        fieldChangeNotify( 0 );
    }
private void toggle ( ) { _on = ! _on ; invalidate ( ) ; fieldChangeNotify ( 0 ) ; }
Toggles the state of the switch
Toggles the state of the switch