Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTree Expansion

 
jhon meshek
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

How to load data instantly when i click on "+" ?

Any suggestion would be appreciated.

Thanks in Advance
 
Craig Wood
Ranch Hand
Posts: 1535
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For a JTree use a DefaultTreeModel like this
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic