java - store state/expanded nodes of a jtree for restoring state -


i working jtree.

i know best way know nodes expanded in jtree save state (i.e. save expanded paths). if call model.reload() jtree not stay collapsed, able restore original state user, i.e., expanded nodes expanded.

santhosh kumar 1 of go-to guys swing hacks.

answer: http://www.javalobby.org/java/forums/t19857.html


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -