File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
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
Cloning a TreeNode.........
JTree making a node act as parent
How to get an element with XPath?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013