• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JTree Expansion

 
jhon meshek
Greenhorn
Posts: 4
  • 0
  • 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
  • 0
  • 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