The nodes you loaded.

Hey Matej, you told me you built a dynamic tree as well. Code you
share some code as well?

Eelco


On 1/11/07, Mats Norén <[EMAIL PROTECTED]> wrote:
> On 1/8/07, Eelco Hillenius <[EMAIL PROTECTED]> wrote:
>
> > Then you would have to reset/ re-render the tree from scratch every
> > time. Your best bet is probably to look at Swing examples that do
> > this; the idea should be the same.
> >
> > One way to load lazily - though keep in mind it doesn't clean up when
> > nodes are unfolded again - is to override DefaultMutableTreeNode's
> > getChildCount method, so that it lazily initializes itself, adding any
> > child nodes on the first call. Code that I'm using in project looks
> > like this:
>
> What do you mean by clean up when nodes are unfolded again?
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to