It inherited that problem from Swing's Tree component. Don't ask me why, but even though there is this TreeNode interface, Swing's Tree is not really usuable with anything else than DefaultMutableTreeNode. Unless I missed something.
Eelco On 7/13/06, Арву Оетук <[EMAIL PROTECTED]> wrote: > When I use class which implement TreeNode, I got ClassCastException. Tree use > only DefaultMutableTreeNode. > Wich way I can use? > > > -----Original Message----- > From: Michael Welter <[EMAIL PROTECTED]> > To: Арву Оетук <[EMAIL PROTECTED]>, wicket-user@lists.sourceforge.net > Date: Thu, 13 Jul 2006 03:33:53 -0600 > Subject: Re: [Wicket-user] tree model > > > > > Absolutely! The ability to drill-down into a data structure without > > having to instantiate the entire structure in memory. > > > > Арву Оетук wrote: > > > Hi all. > > > I want use big tree model. > > > But I don't want load all tree in memory. > > > Is it possible use TreeNode instead DefaultMutableTreeNode? > > > Or other way exists? > > > Dmitry. > > > > > > > > > ------------------------------------------------------------------------- > > > Using Tomcat but need to do more? Need to support web services, security? > > > Get stuff done quickly with pre-integrated technology to make your job > > > easier > > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > _______________________________________________ > > > Wicket-user mailing list > > > Wicket-user@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > > > > > > -- > > Michael Welter > > Telecom Matters Corp. > > Denver, Colorado US > > +1.303.414.4980 > > [EMAIL PROTECTED] > > www.TelecomMatters.net > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user