public void actionPerformed( ActionEvent ev ) { if( caret != null ) { caret.setVisible( !caret.isVisible() ); }
public void actionPerformed(ActionEvent ev) { caret.setVisible(!caret.isVisible());
    public void actionPerformed( ActionEvent ev ) {        if( caret != null ) {            caret.setVisible( !caret.isVisible() );        }    }