A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Java EE 7 Tutorial Volume 1 or Volume 2
this week in the
jQuery UI in Action
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 complete TreeNode
JTree making a node act as parent
How to get an element with XPath?
Cloning a TreeNode.........
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014