File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes Copy of JTree? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Copy of JTree?" Watch "Copy of JTree?" New topic

Copy of JTree?

mira yang
Ranch Hand

Joined: Nov 08, 2003
Posts: 33
How to make a deep copy of jtree?
[ April 23, 2004: Message edited by: mira yang ]
Joe Ess

Joined: Oct 29, 2001
Posts: 9189

This is not an I/O question. I'm going to move it to Swing / JFC / AWT.

[How To Ask Questions On JavaRanch]
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15302

JTree newTree = currentTree;
?? I'm not quite understanding what you mean by "deep copy".

GenRocket - Experts at Building Test Data
I agree. Here's the link:
subject: Copy of JTree?
It's not a secret anymore!