panelTree = new DeployTreePanel(value, false); panelTree.setEnabled(true); display.tabPane.add(panelTree, key, indexPanel++);
deployPanel = new DeployTreePanel(value, false); deployPanel.setEnabled(true); display.tabPane.add(deployPanel, key, indexPanel++);
   public static void addProcessesPanels(Display display,         boolean addRootProcessPanel, String hostname, int port)          throws Exception {      int indexPanel = 0;      // Adding pannels      JPanel panelTree = null;      if (addRootProcessPanel) {         panelTree = new DeployTreePanel(SFProcess.getRootLocator()               .getRootProcessCompound(InetAddress.getByName(               hostname), port), true);         panelTree.setEnabled(true);         display.tabPane.add(panelTree, "rootProcess...", indexPanel++);      }      Context context = SFProcess.getRootLocator()            .getRootProcessCompound(InetAddress.getByName(            hostname), port).sfContext();      java.util.Enumeration keys = context.keys();      Object key = "";      Object value = "";      while (keys.hasMoreElements()) {         key = keys.nextElement();         //out.println("* " + key + ": " + (context.get((String)key)).toString());         value = context.get((String) key);         //System.out.println("* " + key + ": " + value.toString());         if (value instanceof Prim) {            if (((Prim) value).sfParent() == null) {               panelTree = new DeployTreePanel(value, false);               panelTree.setEnabled(true);               display.tabPane.add(panelTree, key, indexPanel++);            }         }      }   }