if ( isDifferent(buttonGroup, g) ) { if (getDispatcher()!=null ) { getDispatcher().unregister(this); buttonGroup = g; getDispatcher().register(this); } else { buttonGroup = g; } reload(ReloadManager.RELOAD_CODE); }
if ( isDifferent(buttonGroup, g) ) { if (getDispatcher()!=null ) { getDispatcher().unregister(this); buttonGroup = g; getDispatcher().register(this); } else { buttonGroup = g; } reload(ReloadManager.RELOAD_CODE);
    protected void setGroup(SButtonGroup g) {        if ( isDifferent(buttonGroup, g) ) {            if (getDispatcher()!=null ) {                getDispatcher().unregister(this);                buttonGroup = g;                getDispatcher().register(this);            } else {                buttonGroup = g;            }            reload(ReloadManager.RELOAD_CODE);        }    }