HI, all,
   I have a tree that create using DefaultMutableTreeNode. In order to 
display it, create a TreeModel instance and then JTree.

for example,
DefaultMutableTreeNode :  basicTree
Tree Model             :  treeModel = new DefaultTreeModel(basicTree)
JTree                  :  visualTree = new JTree(treeModel)

   the problem is, my tree can have several nodes that are same name. 
When user click on the one of the visualTree's node, I need to get the 
basicTree's equalvalent node. What should I do to get the 
DefaultMutableTreeNode?

Thanks. 

_______________________________________________
Swing mailing list
[EMAIL PROTECTED]
http://eos.dk/mailman/listinfo/swing

Reply via email to