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
Joined: Jul 20, 2001
Posts: 84
posted
0
Try calling tree.repaint()...
Vinod Venugopal
Ranch Hand
Joined: Dec 06, 2000
Posts: 148
posted
0
Form the new tree & then call tree.updateUI();
- Vinod<br />-------<br />SCJP2
bobby, morkos
Ranch Hand
Joined: Jan 04, 2002
Posts: 82
posted
0
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();