updateControls(false);
  private void exitMenuItem_actionPerformed(AWTEvent e) {    // don't stop experiments when exiting the console    //    stopExperiments();    // kill any node output listeners that this instance of CSMART started    appServerSupport.killListeners();    // Stop polling the Appservers    if (asPollTimer != null) {      if (log.isDebugEnabled()) {	log.debug("Canceling old AS timer");      }      asPollTimer.cancel();      // stop monitoring app servers      monitorAppServerTask.cancel();    }    updateControls(false);    // this is set when entering the console and must be cleared on exit    if (experiment != null)      experiment.setRunInProgress(false);        // If this was this frame's exit menu item, we have to remove    // the window from the list    // if it was a WindowClose, the parent notices this as well    if (e instanceof ActionEvent)      NamedFrame.getNamedFrame().removeFrame(this);    dispose();  }