wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "visualize a Tree and tree traversal" Watch "visualize a Tree and tree traversal" New topic

visualize a Tree and tree traversal

Yi Meng
Ranch Hand

Joined: May 07, 2003
Posts: 270
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?

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
I agree. Here's the link: http://aspose.com/file-tools
subject: visualize a Tree and tree traversal
Similar Threads
Recursively Set Tester in a Recursive Tree
Flyweight Implementation.
Constructing a binary tree from its traversals
visualize a Tree and tree traversal
When do i say that a binary search tree is unique?!