Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

visualize a Tree and tree traversal

 
Yi Meng
Ranch Hand
Posts: 270
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
eammon bannon
Ranch Hand
Posts: 140
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic