File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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
 
Consider Paul's rocket mass heater.
 
subject: visualize a Tree and tree traversal