/** * Recursively adds GUI nodes starting from fqn */ void addGuiNode(String fqn) { Set children; String child_name; if(fqn == null) return; // 1 . Add myself root.add(fqn); // 2. Then add my children children=tree.getChildrenNames(fqn); if(children != null) { for(Iterator it=children.iterator(); it.hasNext();) { child_name=(String)it.next(); addGuiNode(fqn + SEP + child_name); } } }