drag AND drop an email attachment into a swing application

How do you drag & drop an email attachment from Outlook,thunderbird, etc.. into a swing application?
[111 byte] By [toyewamidea] at [2007-11-27 7:43:02]
# 1

You'll have to write a class extending TransferHandler, overwrite the importData method and register it with your Application. but this will only work if you know which mime type the Attachment has.

Another approach wich gives you more control but is not as easy to implement is described in: http://www.javaworld.com/jw-03-1999/jw-03-dragndrop.html

marco@dea at 2007-7-12 19:23:49 > top of Java-index,Desktop,Core GUI APIs...
# 2
Hello,Is there a way to do the same (dnd for single -not all- attachement from an email) using eclipse SWT
amgada at 2007-7-12 19:23:49 > top of Java-index,Desktop,Core GUI APIs...