|
-
September 22nd, 2000, 11:26 AM
#1
How do I refresh a JTree?
I'm having problems getting a JTree to reflect changes made to it's nodes. Basically, my tree contains a JPanel at each node. If I add or take away objects to those JPanels it is correctly done in software (an eneumeration of all the components in a given pane lists what it should contain). For some reason the added components do not appear in the JTree. I'm assuming this is just a problem with refreshing/updating the display. I've tried invalidate/validate and update, but nothing seems to work. Is there something I'm overlooking?
Thanks!
"There's nothing more dangerous than a resourceful idiot." ---Dilbert
BWAHAHAHAHAHAHA! ---Murray
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|