File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes update the tree node Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "update the tree node" Watch "update the tree node" New topic

update the tree node

Le Wang

Joined: Oct 09, 2001
Posts: 10
Hi, I have two panels in my JFrame, the left one has JTree, when I select a tree node, the right panel will show some textfields and button.when I input some information in the textfield and click button, I want to update the selected tree node(for example, add * to the tree node), someone can told me how to do it?

I agree. Here's the link:
subject: update the tree node
It's not a secret anymore!