DnD from Outlook to Java.  Any ideas?

Naive novice here.
I would like to drag and drop from Outlook into Java app.
Can this be done?
If so how might I go about it?
Any help/information/pointers is appreciated.
Mick

hm, its possible to detect the drop from native apps e.g.
import javax.swing.*;
import java.awt.dnd.*;
import java.awt.datatransfer.*;
public class MickNBT {
   public static void main(String [] arg) {
      JFrame frame = new JFrame("MickNBT");
      JLabel label = new JLabel("Drag to here");
      new DropTarget(label, new DropTargetAdapter() {
         public void drop(DropTargetDropEvent dtde) {
            Transferable t = dtde.getTransferable();
            System.out.println(dtde+"\n"+t);
      frame.getContentPane().add(label);
      frame.pack();
      frame.show();
} but i'm not sure how you get the information associated with the drop event. I think it has to be a MIME type for you to have a chance of using it but could be mistaken..
hopefully someone knows more about this part of the operation :)
asjf

Similar Messages

Maybe you are looking for

  • How to download mp4 video files directly from camera to iPad mini?

    I used the Lightning Card Reader but the Mp4 video files did not transfer. Is there an APP for this?

  • 1st & last day of month based on month selected

    Hi All, I am an infant in BO. I want to create a variable in which I need to compare Order Creation Date with First Day of Month and Last Day of Month. I have gone through the posts here regarding this, I found huge no of posts on calculating the 1st

  • My ipad got stolen how do i get it back?

    hi apple can u please help me my ipad got stolen can u please track it i will give u the serial number in private chat if u like pleaaaasssseeee help thanks

  • How to find out PL/SQL function usage in Discoverer workbooks?

    We have to make changes to one PL/SQL function that has been registered in Administrator. Is it possible to find out in which reports the function is used? The function is called in calculations and it returns certain time information. We have to add

  • X-Fi XtremeMusic and EAX effe

    Just got a Dell computer with an X-Fi card in it. My old Soundblaster X-Gamer had a control panel app that let me choose various EAX effects like reverb and some weird stuff to make my voice sound funny. The only soundcard-related software on my new