return selectedNode;
}
public String getTreePath() {
TreePath selPath = newFileTree.getSelectionPath();
JSimMutuableTreeNode selectedNode = null;
try {
selectedNode = (JSimMutuableTreeNode) selPath
.getLastPathComponent();
} catch (Exception E) {
}
if (selectedNode != null) {
return selectedNode.getPathString();
}
return "";
}