This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Customer Requirements for Developers and have Marcho Behler on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes deletion of Node in JTree Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Customer Requirements for Developers this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "deletion of Node in JTree" Watch "deletion of Node in JTree" New topic
Author

deletion of Node in JTree

prashant gour
Ranch Hand

Joined: Feb 07, 2006
Posts: 45
I have to delete selected node from Jtree except Root node. if i select all node of tree with root only child node should get deleted not root.

any thoughts!!
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: deletion of Node in JTree
 
jQuery in Action, 3rd edition