deleteNodeFromTree(nodeTree);
TreePath[] selectedPaths = nodeTree.getSelectionPaths(); for (int i = 0; i < selectedPaths.length; i++) deleteNodeFromTree(nodeTree, selectedPaths[i]);
  public void deleteNodeMenuItem_actionPerformed(ActionEvent e) {    deleteNodeFromTree(nodeTree);  }