Reputation: 9306
How could I save the selected and opened nodes in JTree and reopen it after user restart my Application?
Upvotes: 1
Views: 229
Reputation: 2046
We can store the expansion state of JTree and retain it later when required. Check this code example. http://www.javalobby.org/java/forums/t19857.html
Upvotes: 1