public void update() { if( caret != null ) {
public void update() {
    public void update() {        if( caret != null ) {            stop();            setDelay( caret.getBlinkRate() );            if( editable ) {                start();            }            else {                caret.setVisible( false );            }        }    }