private JComponent getPanel(boolean currentState) {
      if (myOptionsPanel != null) {
        if (myLastState != currentState) {
          myDeafListeners = true;
          try {
            for (Component c : myEnableRequiredComponent) {
              c.setEnabled(currentState);
            }
            myLastState = currentState;
          }
          finally {
            myDeafListeners = false;
          }
        }
      }
      return myOptionsPanel;
    }
private JComponent getPanel(boolean currentState)