This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
FileObject root = FileUtil.getConfigRoot();
FileObject fo = FileUtil.createFolder(root, "Templates/SimpleFolder");
try {
try {Thread.sleep(500); } catch (InterruptedException iex) {}
fo.setAttribute("simple", Boolean.FALSE);
Node n = TemplatesPanel.getTemplateRootNode();
Node[] arr = n.getChildren().getNodes(true);