my dog learned polymorphism*
The moose likes Swing / AWT / SWT and the fly likes JTree node editable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JTree node editable" Watch "JTree node editable" New topic

JTree node editable

Vinod Venugopal
Ranch Hand

Joined: Dec 06, 2000
Posts: 148
I have a tree containing some number of nodes, I want to make one particular node editable, is this possible & how?
Also if I have a texfield & the moment I type somthing in the textfield a particular node should change its label accordingly , any ideas?

- Vinod<br />-------<br />SCJP2
It is sorta covered in the JavaRanch Style Guide.
subject: JTree node editable
Similar Threads
SWING - gui and xml file structure manipulation
Update Jtable
JTree help
Converting non-editable pdfs to editable pdfs
how to add a new node to already existing node but i dont know the parent node