This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Copy of JTree?" Watch "Copy of JTree?" New topic
Author

Copy of JTree?

mira yang
Ranch Hand

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

Joined: Oct 29, 2001
Posts: 8834
    
    7

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


"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

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


GenRocket - Experts at Building Test Data
 
Consider Paul's rocket mass heater.
 
subject: Copy of JTree?
 
Similar Threads
DefaultTreeModel & JTree
JTree
JTree help
JTree not scrolling to selected node
editable JTree