aspose file tools*
The moose likes Beginning Java and the fly likes visualize a Tree and tree traversal Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "visualize a Tree and tree traversal" Watch "visualize a Tree and tree traversal" New topic
Author

visualize a Tree and tree traversal

Yi Meng
Ranch Hand

Joined: May 07, 2003
Posts: 270
hi,
I have to visualize an xml file as a tree and to show tree traversal by hightlighting the edges(step by step animation).
can anyone suggest where can i strat or is there any open source project for java tree implementation and visualization?
thanks


Meng Yi
eammon bannon
Ranch Hand

Joined: Mar 16, 2004
Posts: 140
javax.swing.JTrees work well with XML models - you could build something using one of these. Hava a look at http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html
 
jQuery in Action, 2nd edition
 
subject: visualize a Tree and tree traversal