A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
Swing / AWT / SWT
Copy the node with all its children
Joined: Apr 28, 2004
May 26, 2004 00:08:00
How can i copy a node with all its children onto an another tree?
Right now, i can copy only a single node
Joined: Sep 10, 2002
May 26, 2004 09:53:00
This doesn't sound like a graphics question this sounds like a question from a school assignment. If so, it would be best to post under
: beginner or intermediate.
You'll need to give more information too, such as what type of tree structure you're dealing with.
Have you checked out
subject: Copy the node with all its children
Cloning a complete TreeNode
How to get an element with XPath?
JTree making a node act as parent
Cloning a TreeNode.........
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015