code: protected void setOkEnabled(boolean enabled, String message) {
  
          if (enabled) {
              m_okButton.enable();
          } else {
              m_okButton.disable(message);
          }
      }
docs: Enables or disables the OK button.<p>
  
  @param enabled <code>true</code> to enable the button
  @param message the disabled reason