public void disable(String disabledReason) {

        setDown(false);
        setEnabled(false);
        m_disabledReason = disabledReason;
        super.setTitle(disabledReason);
    }
public void disable ( String disabledReason ) { setDown ( false ) ; setEnabled ( false ) ; m_disabledReason = disabledReason ; super . setTitle ( disabledReason ) ; }
Disables the button and changes the button title attribute to the disabled reason.<p>

@param disabledReason the disabled reason