{
        final Component glassPane = SwingUtilities.getRootPane(RepositoryTreeDialog.this).getGlassPane();
        try
        {
          glassPane.setVisible(true);
          glassPane.setCursor(new Cursor(Cursor.WAIT_CURSOR));
          final FileObject child = treeNode.resolveFile(newFolderDialog.getFolderName());
          if (child instanceof WebSolutionFileObject)
          {
            final WebSolutionFileObject webSolutionFileObject = (WebSolutionFileObject) child;
            webSolutionFileObject.setDescription(newFolderDialog.getDescription());
          }
          child.createFolder();
          repositoryTreeModel.fireTreeDataChanged();
          repositoryBrowser.setSelectionPath(selectionPath.getParentPath().pathByAddingChild(child));
          setDirty(true);
        }
        catch (Exception e1)
        {
          UncaughtExceptionsModel.getInstance().addException(e1);
        }
        finally
        {
          glassPane.setVisible(false);
          glassPane.setCursor(new Cursor(Cursor.DEFAULT_CURSOR));
        }
      }
    }