String name = getUniqueName("New folder name", "Folder Name Not Unique", folderNames);
String name = getUniqueFolderName("", false);
  public void newFolder() {    String name = getUniqueName("New folder name",                                "Folder Name Not Unique",                                folderNames);    if (name == null) return;    DefaultMutableTreeNode newNode = new DefaultMutableTreeNode(name, true);    addNode(getSelectedNode(), newNode);    workspace.setSelection(newNode);  }