Advanced UI/src/com/samples/toolkit/ui/component/BitmapSliderField.java
/**
     * Listens for the space key to be pressed
     * When pressed, state is toggles
     */
Listens for the space key to be pressed
When pressed, state is toggles
Listens for the space key to be pressed When pressed state is toggles
protected boolean keyChar( char key, int status, int time ) {
        if( key == Characters.SPACE || key == Characters.ENTER ) {
            toggleSelected();
            return true;
        }
        return false;
    }
protected boolean keyChar ( char key , int status , int time ) { if ( key == Characters . SPACE || key == Characters . ENTER ) { toggleSelected ( ) ; return true ; } return false ; }
Listens for the space key to be pressed
 When pressed, state is toggles
Listens for the space key to be pressed When pressed state is toggles