wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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"
 
Don't get me started about those stupid light bulbs.
 
subject: Drag and Drop in JTree
 
Similar Threads
maintain action history of drag and drop in jtree
Subtree in JTree
MouseListener and a Jtree�
JTree
JTree