Click here to Skip to main content
15,920,217 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a JTree which allows me to add or delete leaves nodes.

but the problem is after deletion the tree collapse to the root.

thats so irritating from user's point of view. I want it to keep its state and update the tree.

plz help me <;D
Posted

1 solution

Start here[^] for a tutorial. I haven't looked around there, but it would be a good place to start. Many of the other 492,000 Google results for "jtree" would be useful too.
 
Share this answer
 
Comments
Hackaholic 21-Apr-11 12:17pm    
thnx alot ;D

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900