Meaningless Drivel is fun!*
The moose likes Swing / AWT / SWT and the fly likes Not able to implement drag and drop; dragSetData not getting called 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 "Not able to implement drag and drop; dragSetData not getting called" Watch "Not able to implement drag and drop; dragSetData not getting called" New topic
Author

Not able to implement drag and drop; dragSetData not getting called

Pavan Kumar Dittakavi
Ranch Hand

Joined: Feb 12, 2011
Posts: 104

Hi All,..

I am trying to incorporate a drag-and-drop feature with our product. I have created a new custom view which has a tree structure and am interested in dropping the content from this tree to an already existing tree structure within the application itself.

I have used the same custom transfer type which the product is expecting. However, while debugging I found out that neither the DragSourceEvent's data or datatype are getting set. Both are null values. Moreover my dragSetData is not getting called as well.

Requesting you to provide me some suggestions....


Thanks,
Pavan.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Not able to implement drag and drop; dragSetData not getting called
 
Similar Threads
Embed Swing Inside Servlet
maintain action history of drag and drop in jtree
Drag n Drop -Help!!!
JTrees Drag and Drop
Strange problem -- Drag and Drop with JTree