6869707172737475767778
@Override public void setModel( BasicButtonModel model ){ BasicButtonModel old = getModel(); if( old != null ) old.removeListener( listener ); super.setModel( model ); if( model != null ) model.addListener( listener );