aspose file tools*
The moose likes Swing / AWT / SWT and the fly likes Strange problem -- Drag and Drop with JTree Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Strange problem -- Drag and Drop with JTree" Watch "Strange problem -- Drag and Drop with JTree" New topic
Author

Strange problem -- Drag and Drop with JTree

Swamy Vatti
Ranch Hand

Joined: May 02, 2001
Posts: 57
Hi everyone,
I have a strange problem in using Drag and Drop in a JTree. I have a JTree which implements drag and drop. The tree behaves perfectly as I need when I run it separately(with only the tree in a frame). But when I use the same tree without any change in my application(lot of other components besides it), the drop methods are not called. ie the tree is listening to the drag operation but not the drop operation.
I am struggling to find out what exactly is the problem but in vain.
Any pointers to this will be very much helpful.
Thanks
Vatti


Swamy
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Strange problem -- Drag and Drop with JTree