This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Drag and Drop in JTree

 
Murali Obla
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

How to make JTree as Drag and Drop component?.I am generating a Tree using DefaultMutableTreeNode class.I want to drag a node from the tree and place(drop)it into a JTextArea.How do I do that?
Please help me,
Thanks in advance,
Murali
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic