A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Java SE 8 for the Really Impatient
this week in the
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.
I agree. Here's the link:
subject: Copy the node with all its children
Cloning a TreeNode.........
Cloning a complete TreeNode
How to get an element with XPath?
JTree making a node act as parent
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014