private int[] getNodeIndexList(
	DefaultMutableTreeNode node )
{
	LinkedList<Integer> list = new LinkedList<Integer>();
	while ( !node.isRoot() )
	{
		list.addFirst(new Integer(node.getParent().getIndex(node)));
		node = (DefaultMutableTreeNode) node.getParent();
	}
	int n = list.size();
	int[] nodeList = new int[n];
	for ( int i = 0; i < n; ++i )
		nodeList[i] = list.get(i).intValue();
	return(nodeList);
}