Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to get everything in DefaultTreeNode

843806Jan 24 2009 — edited Jan 26 2009
How do I get everything include the child of a child of a child of the root?

I'm using the TreeDemo.java as an example. Using the DefaultMutableTreeNode, top, I want to be able to get everything including all the books by calling one method with top as either the object or the parameter. how can I do this?

Comments

Processing
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Feb 23 2009
Added on Jan 24 2009
2 comments
448 views