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