Originally posted by Lohith:
[qb]
but still i didn't get reply to my problem.........
Have you considered how the DefaultMutableTreeNode is constructed?
Is it a parent child relation ship where the child itself can be a parent for further children? Can you use any existing methods in the DefaultMutableTreeNode to traverse this structure?
There already exists the clone method. Can you override it to get the clone which you want? Would recursion help?
Why dont you try out some code and post it here so people can help you out if you get stuck?
Ok. I almost forgot. Looks like you havent read your private message. Perhaps you were in a hurry.
Whenever you get time, you would do well to read
this. [ January 22, 2008: Message edited by: Maneesh Godbole ]
[ Doh! Edited again. Almost forgot deep clone means something else! ]
[ January 22, 2008: Message edited by: Maneesh Godbole ]