• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

update the tree node

 
Le Wang
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic