Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JTree Expansion  RSS feed

 
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
Boost this thread!