else
traceAction.setEnabled(false); } else {
  private void updateMenuItems(String state) {    if (state.startsWith("NODE_STATE")) {      if (state.equals(model.STATE_RUNNING)) {        stopAction.setEnabled(true);      } else        stopAction.setEnabled(false);      if (state.equals(NodeModel.STATE_STOPPED))        startAction.setEnabled(true);      else        startAction.setEnabled(false);    }  }