aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Drag and Drop in JTree Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Drag and Drop in JTree" Watch "Drag and Drop in JTree" New topic
Author

Drag and Drop in JTree

Murali Obla
Ranch Hand

Joined: Nov 18, 2001
Posts: 40
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


"Excellence is never an accident; it is always the result of high intention, sincere effort, intelligent direction, skillful execution, and the vision to see obstacles as opportunities"
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Drag and Drop in JTree
 
Similar Threads
MouseListener and a Jtree�
JTree
Subtree in JTree
maintain action history of drag and drop in jtree
JTree