• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

About JTree

 
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).]
 
Ranch Hand
Posts: 1492
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic