Node node[] = tree.getExplorerManager().getSelectedNodes();
editAction.actionPerformed(new ActionEvent(node, 0, ""));
}
private void removeActionPerformed(ActionEvent actionevent) {
Node node[] = tree.getExplorerManager().getSelectedNodes();
removeAction.actionPerformed(new ActionEvent(node, 0, ""));
}