if ( isSelected()!=b ) { if ( buttonGroup!=null ) buttonGroup.setSelected(this, b);  super.setSelected(b); }
if ( isSelected()!=b ) { if ( buttonGroup!=null ) buttonGroup.setSelected(this, b);  super.setSelected(b);
    public void setSelected(boolean b) {        if ( isSelected()!=b ) {            if ( buttonGroup!=null )                buttonGroup.setSelected(this, b);            super.setSelected(b);        }    }