This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

About JTree

 
Murali Obla
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have created a JTree using DefaultMutableTreeNodes which is HotCodded.But I need to create the Tree Dynamically ie if i add some node in database,it should be created in the Tree.
So,How to insert Default Mutable Tree Nodes dynamically from the SQL Server Database.
Please Reply Earlier,
Advance Thanks,
Regards,
Murali
[This message has been edited by Murali Sivanath (edited November 18, 2001).]
 
Manfred Leonhardt
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Murali,
Take a look at this link. It has good examples of a dynmically changing tree.
http://java.sun.com/docs/books/tutorial/uiswing/components/tree.html#dynamic
Regards,
Manfred.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic