• Post Reply Bookmark Topic Watch Topic
  • New Topic

Refresh JTree  RSS feed

 
Clara Hall
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I use JTree to display the structure of the database, now the database content changed, I want to refresh the JTree, and make it only display the new information and get rid of the old information.
Anybody has any idea? Thank you.
Clara
 
Vinod Venugopal
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try tree.updateUI()
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!