Bookmark Topic Watch Topic
  • New Topic

Cloning a complete TreeNode

 
don lohith
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi how can i clone a complete TreeNode......?(i Am doing a copy paste on TreeNode)
The node reference returned by such a method is used to paste the node elsewhere, So that if i add that node, i should be able to get the whole children hiearchy with it.......Please help........

there is a clone() in DefaultMutableTreeNode Class, which clones only that particular node, but what i want is the complete children node....
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Report post to moderator
Lohith,

Please do not post the same question in multiple forums. I moved a duplicate of this post from JBoss to the Swing forum. Let's continue the discussion there
 
don lohith
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Report post to moderator
Sorry i didn't know where to send it........so i posted it here....
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
"Lohith S",
Please check your private messages.
 
    Bookmark Topic Watch Topic
  • New Topic