Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do you Refresh a tree view

 
bobby, morkos
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a Swing application where I change a tree view on a click of a button, but it does not refresh. Could anynone help?
[ January 16, 2002: Message edited by: bobby, morkos ]
 
John Smith
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try calling tree.repaint()...
 
Vinod Venugopal
Ranch Hand
Posts: 148
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Form the new tree & then call tree.updateUI();
 
bobby, morkos
Ranch Hand
Posts: 82
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Do you have an example of a tree view using a function. It must update every time you click a button.

Originally posted by Vinod Venugopal:
Form the new tree & then call tree.updateUI();
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic