In the other thread which you had hijacked Rob gave some tips on how do lazy load a tree with caching. Did you try it out?
What have you got so far, and were exactly are you stuck?
I went to the API documentation for JTree and started searching for the word "listener". Pretty soon I came to a method called "addTreeExpansionListener" whose short description says
Adds a listener for TreeExpansion events.
Kriss Reddy
Ranch Hand
Joined: Mar 29, 2005
Posts: 54
posted
0
Hi Paul,
Thanks for your pointer, I noticed that. How does a JTree load its children by default? ie what is the default way of loading its children, what conditions determine this behaviour?
Please point to some easy to understand 'basics' tutorial of JTree, some sun's tutorials are too complicated for me.