The FileTree demo is a perfect example of lazy loading: just implement your ContentProvider similarly, and no more will be read than necessary to render the tree.
For the addition of expansion on label clicks, you can accomplish that in your listener in a similar way how the "Expand All" is done in the FileTree demo. hope this helps, viktor On 6/13/05, Ann <[EMAIL PROTECTED]> wrote: > Hi, > I am in the same situation and need to do the following > > 1. Get the label to expand in addition to + and - > 2. Load children only on demand. > > I would appreciate if you could provide code snippets for the above to enable > be able to understand how to accomplish them. > > Thanks. > Ann > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
