desktop.add((NodeView)arg, "");
desktop.addNodeFrame((NodeView)arg, "");
  public void update(Observable o, Object arg) {    if (arg.equals(CSMARTConsoleModel.TOGGLE_RUNNING_STATE)) {      if(!model.isRunning()) {        invisButton.getModel().setPressed(true);      }      if (runButton.getModel().isEnabled() &&          !stopButton.getModel().isEnabled()) {        stopButton.getModel().setEnabled(true);      }    }    if (arg.equals(CSMARTConsoleModel.TOGGLE_ATTACHED_STATE)) {    }    if (arg.equals(CSMARTConsoleModel.APP_SERVERS_CHANGED) ||        arg.equals(CSMARTConsoleModel.APP_SERVER_ADDED) ||        arg.equals(CSMARTConsoleModel.APP_SERVER_DELETED) ||        arg.equals(CSMARTConsoleModel.NODE_ADDED)) {      updateASControls();    }    if (arg instanceof NodeView) {      // TODO: second argument should be node name      desktop.add((NodeView)arg, "");      return;    }  }