public TreePath getTreePath(ZVNode node) {
	String path = node.getPath();
	TreePath treePath = new TreePath(this.model.getNode("/"));
	String currentPath = "";
	StringTokenizer st = new StringTokenizer(path, "/", false);
	while (st.hasMoreTokens()) {
	    currentPath += "/" + st.nextToken();
	    treePath = treePath.pathByAddingChild(this.model
		    .getNode(currentPath));
	}
	return treePath;
    }