if (nodeCreator == null) return; addStatusButton(nci.statusButton); desktop.addNodeFrame(nci.nodeComponent, (ConsoleNodeListener)nci.listener, new NodeFrameListener(), nci.scrollPane, nci.statusButton, nci.logFileName, remoteNode, console); updateExperimentControls(experiment, true); }
JInternalFrame jif = new JInternalFrame("GLS", true, false, true, true); glsClient = new GLSClient(getOPlanAgentURL(glsAgent)); jif.getContentPane().add(glsClient); jif.setSize(350, 350); jif.setLocation(0, 0); jif.setVisible(true); desktop.add(jif, JLayeredPane.DEFAULT_LAYER); try { jif.setIcon(true); } catch (PropertyVetoException e) { } }
          public void run() {            // don't create gui controls if node creation has been stopped            if (nodeCreator == null) return;            addStatusButton(nci.statusButton);            desktop.addNodeFrame(nci.nodeComponent,                                 (ConsoleNodeListener)nci.listener,                                  new NodeFrameListener(),                                 nci.scrollPane,                                 nci.statusButton,                                 nci.logFileName,                                 remoteNode,                                 console);            updateExperimentControls(experiment, true);          }