code: public void setFormEnabled(boolean enabled) {
  
          m_formEnabled = enabled;
          m_selectBox.setEnabled(enabled);
          m_heightBox.setEnabled(enabled);
          m_widthBox.setEnabled(enabled);
          if (enabled) {
              m_cropButton.enable();
              m_removeCropButton.enable();
          } else {
              m_cropButton.disable(Messages.get().key(Messages.GUI_IMAGE_NO_FORMATS_AVAILABLE_0));
              m_removeCropButton.disable(Messages.get().key(Messages.GUI_IMAGE_NO_FORMATS_AVAILABLE_0));
          }
      }
docs: Sets the format form enabled.<p>
  
  @param enabled if <code>true</code> the form will be enabled