Drag and Drop an email from OutLook to JList.

Hi All,
Can anyone of you please guide me on how to implement drag and drop an email from microsoft outlook to JList.
Thanks in advance.!
Amit

It might just be Microsoft not using standards? I remember having a similar situation - I had an application that could have a zip entry fron 7-zip drag-and-dropped into it (came over as plain text, or maybe an InputStream, can't remember), but when you drill into a zip file with Windows (Vista at least), and try to drag-and-drop a zip entry from Windows Explorer, Java shows no dataflavors available. I just assumed Microsoft wasn't exporting the zip entry in any standard format (such as plain text).
Sorry, I know that wasn't very helpful, just thought I'd share a similar experience. :)

Similar Messages

  • How to drag and drop an email from Outlook Express (with example code)

    Hi,
    It is possible to drag a mail from Outlook Express and drop it on the desktop, and the file created is a .eml, which is a text file.
    If I drop it into a Java application, no DataFlavor is provided to make the data transfer possible.
    As the data to transfer is a text, it should be possible to drop it.
    How to make a DataFlavor available and recover the text as a stream of characters?
    Example code
    The small application below shows the MIME type of the data that is about to be dropped. If you drag an icon from the desktop, a type will be displayed; if you drag an Outlook Express mail, no type will be displayed.
    Thanks.
    import java.awt.Color;
    import java.awt.Dimension;
    import java.awt.datatransfer.DataFlavor;
    import java.awt.dnd.DropTarget;
    import java.awt.dnd.DropTargetDragEvent;
    import java.awt.dnd.DropTargetDropEvent;
    import java.awt.dnd.DropTargetEvent;
    import java.awt.dnd.DropTargetListener;
    import java.util.List;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.JTree;
    public class TestSDN extends JFrame {
        void run () {
            JLabel lab = new JLabel();
            lab.setPreferredSize (new Dimension (100, 100));
            lab.setOpaque(true);
            lab.setBackground(Color.RED);   
            getContentPane().add (lab);
            new DropTarget(lab, new DropTargetListener(){
                public void dragEnter(DropTargetDragEvent dtde) {
                    System.out.println("dragEnter DataFlavors="+dtde.getCurrentDataFlavors().length);
                    for (DataFlavor df: dtde.getCurrentDataFlavors())
                        System.out.println("DataFlavor MIME type="+df.getMimeType());
                public void dragExit(DropTargetEvent arg0) {
                public void dragOver(DropTargetDragEvent arg0) {
                public void drop(DropTargetDropEvent arg0) {
                public void dropActionChanged(DropTargetDragEvent arg0) {
            pack();
            setVisible (true);
        public static void main(String[] args) {
            new TestSDN().run();
    }Edited by: JavaGame on Jan 29, 2009 9:56 AM
    Edited by: JavaGame on Jan 29, 2009 9:57 AM

    It might just be Microsoft not using standards? I remember having a similar situation - I had an application that could have a zip entry fron 7-zip drag-and-dropped into it (came over as plain text, or maybe an InputStream, can't remember), but when you drill into a zip file with Windows (Vista at least), and try to drag-and-drop a zip entry from Windows Explorer, Java shows no dataflavors available. I just assumed Microsoft wasn't exporting the zip entry in any standard format (such as plain text).
    Sorry, I know that wasn't very helpful, just thought I'd share a similar experience. :)

  • Im trying to drag and drop a email group from contacts to a new email message. But it will not let me in OS X Mavericks. Before I upgraded I could do this.

    Im trying to drag and drop a email group from contacts to a new email message. But it will not let me in OS X Mavericks. Before I upgraded I could do this.

    I just posted this fix to another thread and thought it might be useful to post to all of the threads I read trying to fix the problem. Here it is:
    Having the same issue over here with Mavericks 10.9.1 on a new Macbook Pro/Retina. Just now found a workaround/fix/whatever:
    - click on your group in the group pane of the address panel
    - click anywhere in the name pane and select all (command + a)
    - click the "To:" or "Cc:" or "Bcc:" tab right above the group pane at the top of the address panel window.
    The names of all of the individuals in the group will appear as an expanded list in whatever field you clicked. It takes a second or two to happen.

  • I just downloaded the new version of iTunes 10 and now it won't let me drag and drop any files from my computer.

    I just downloaded the new version of iTunes 10 and now it won't let me drag and drop any files from my computer into my iTunes. It lets me play the song from the folder in my computer and then it opens with iTunes and plays the song all the way through, but then if I try to play it again, it says the file cannot be located. So then I go to locate and go to the folder and all that and select it and nothing happens.

    Not sure whether for instance you initially had a Yahoo optimised version of Firefox, and have now overwritten it with an official Mozilla version. Although the Mozilla version should NOT add unwanted features, but the Yahoo version may well do.
    If you merely need to find the Yahoo emails page quickly just add it as a bookmark or as a bookmark on the Bookmarks toolbar and make sure that is visible.
    Clicking the star icon on the location bar whilst looking at your emails will bookmark the page.
    * [[How to use bookmarks to save and organize your favorite websites]]
    * [[Bookmarks Toolbar - Display your favorite websites at the top of the Firefox window]]
    I do not use Yahoo myself,and am not sure what add-ons are available. You could search yourself using
    * FirefoxButton -> add-ons
    ** see [[Find and install add-ons to add features to Firefox]]
    ** examples [https://addons.mozilla.org/en-us/firefox/addon/yahoo-toolbar/ yahoo toolbar] & [https://addons.mozilla.org/en-us/firefox/addon/yahoo-mail-notifier/ mail notifier]
    * also look at Yahoo's own information such as http://help.yahoo.com/tutorials/toolbar/cl3/c3_ff_toolbar1.html

  • I would like to copy all the songs from one Ipod into another. All the songs are into my Itunes account, I tried to drag and drop the songs from the old Ipod to the new one but it doesn't work. Is there a way to do it ?

    Hello everybody,
    I would like to copy all the songs from one Ipod into another. All the songs are into my Itunes account, I tried to drag and drop the songs from the old Ipod to the new one but it doesn't work. Is there a way to do it ?
    I share one Itunes account with other people from my family and one person would like to keep the same songs on the new Ipod as the ones which were on the old one.
    Thanks in advance for your answer.
    Yan

    Hello Chris,
    Thanks for your answer. I was hoping for an easier answer. Too bad there is no drag and drop solution, it would have been much easier.
    Thanks for answering so fast.
    Bye.
    Yan

  • How to drag and drop href image from webbrowser to office using vsto c# wpf?

    I want to drag and drop href images from web browser to office using C# wpf. Is it possible to drag href images ? give me the solution

    Hi,
    Are you developing an Office Add-in application? Do you mean you hold a wpf Web Browser control in the Office Add-in project?
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Drag and dropping an address from address book to the desktop, the address file does not go where my mouse is positioned.

    If I drag and drop an address from address book to the desktop, the address file does not go where my mouse is positioned. It winds up somewhere in the middle of my screen. Any way to have the address file land and stay where my mouse pointer is?

    You have to assign the favicon yourself to the desktop shortcut (right-click the shortcut: Properties) after you have dragged the link to the desktop.
    You can usually find the favicon in Tools >Page Info > Media and save the icon there.
    Otherwise use the main domain of the website and add favicon.ico (e.g. mozilla.com/favicon.ico ) to display the favicon in a tab and save that image to a folder.

  • HT1386 Can I manually drag and drop a playlist from an itunes account different from my own?

    Can I manually drag and drop a playlist from an itunes account other than my own?

    Yes but then all your music will be erased and replace by the new playlist.

  • HT1535 Does iTunes 11 allow for the "dragging" and "dropping" of music from a library onto a manually managed device?

    It appears that iTunes 11 does not allow for the "dragging" and "dropping" of music from a library onto a manually managed device.. is that true? I am trying to drag a playlist onto my iPhone. I've done it many times before on previous versions of iTunes but now that the menu is up in the heading, I can't drag the playlist onto the icon for my iPhone.

    Zmaj3 wrote:
    It appears that iTunes 11 does not allow for the "dragging" and "dropping" of music from a library onto a manually managed device.. is that true?
    No.
    Sync you are not syncing, the ONLY way to get items onto a manually managed device is to drag and drop.
    However, I feel a much simpler way is to create a playlist and add/remove songs from this playlist and autosync this playlist (or multiple playlists). I use about 6 or 7 playlists
    You can still also drag & drop songs while autosycning.

  • I am using garage band for the first time.  I dragged and dropped a song from itunes into the program and I want to extend the length of the song by repeating the first 28 measures.  I can't figure it out.  Please help

    I am using garage band for the first time.  I dragged and dropped a song from itunes into the program and I want to extend the length of the song by repeating the first 28 measures.  I can't figure it out.  Please help.  I have spent several hours trying to figure it out on my own but have not been successful.  It seems like an easy task.  Can anyone help?

    dewin1or wrote:
    I want to extend the length of the song by repeating the first 28 measures.
    split the region at the 28th measure
    http://www.bulletsandbones.com/GB/GBFAQ.html#split
    (Let the page FULLY load. The link to your answer is at the top of your screen)
    then select only the first region and option-drag it to the end of the song

  • Drag and Drop of Page from Content Finder into Page Component

    Hi,
    Does anybody has a sample code for Page component which accepts the page when dragging and dropping from the content finder? Basically I am trying to create a web page with page component on it and customized the content finder to display all the pages that I needed on a separate tab, I am trying to drag and drop the pages from the content finder to the page component of the web page that I created, but it is not working for me. If someone has any sample working code please share it.
    Thanks

    Hi,
    There's no direct support for this. But you could implement
    drag and drop the way you normally would in javascript. Except
    here, on mouseUp over a div encapsulating the object or embed tag
    (the flash object), you'll need to make a call into actionscript
    from javascript indicating that a drag and drop happened.
    For more info, see
    how
    to drag and drop using javascript and
    actionscript
    and javascript communication

  • Is it possible to drag and drop an arrangement from another software program such as band-In -Box to garage band

    is it possible to drag and drop an arrangement from another music program like Band-ina-box into garage band

    GarageBand for iPad is a pretty closed system.
    The Song File
    You can only open GarageBand for iPad Song Files with the extension .band. Please note that those files look the same as the ones form GarageBand 11. However, they are only upwards compatible but not downward compatible. GarageBand iOS -> GarageBand OSX -> Logic.
    Audio Files
    You can import a wide variety of Audio Files into GarageBand (via iTunes File Sharing) to use in your Song. But any material from another app has to be mixed down first. Either as a single stereo mix or you mix each track separately and then import those separate files ("stems") into GarageBand. This is a typical procedure to move material to a different app,for example for mixing.
    Hope that helps
    Edgar Rothermich
    http://DingDingMusic.com
    'I may receive some form of compensation, financial or otherwise, from my recommendation or link.'

  • Unable to Drag and Drop Yahoo emails to folders (Used to work. Still works fine on IE)

    Unable to Drag and Drop Yahoo emails to Yahoo Email folders using Firefox. I am sure this worked until recently.
    I am still able to Drag and Drop in the same yahoo sign on using Internet Explorer.

    I've found it works for some. I think it will only work if it can figure out which one to put it in. If it ins't capable or figuring that out, it won't work. I imagine if you drag several, and if even one can't be sorted, it will reject them all.

  • How so I drag and drop a card from my email list into a group?

    Hi, when I try to drag and drop a card into a group folder it will not accept it. What am I doing wrong? Thank you.
    Jim

    Are trying to do this from an email message?

  • Drag and drop an email attachment into SharePoint Library

    Is it true that it is not possible to drag and drop a file attached to an email directly into a SharePoint Library?
    When I try I get the transparent effect and then an error message. Windows 7, Office 2013, SharePoint 2013.
    I would like to make sure it's not some configuration that can be changed.

    HI,not possible to directly drag and drop email from out look.You can save the mail as outlook template in drive and do drag and drop.please find the below links that explains functionality.
    http://expertsharepoint.blogspot.de/2013/12/how-to-upload-multiple-documents-in.html
    Anil Avula[Partner,MCP,MCSE,MCSA,MCTS,MCITP,MCSM] See Me At: http://expertsharepoint.blogspot.de/

Maybe you are looking for

  • What is the best way to add and use custom fonts with Eloqua?

    We have a custom font that we'd like to use with Eloqua and were wondering how others might have successfully approached this.

  • How to search for a text string in Reports designer?

    In iDS reports (10gR2), I want to search from top down for a text string was used in one of the queries or triggers. In Forms, you can do it, in reports the related menu item is always seems to be grayed out no matter what item I pick in the Navigato

  • Adobe Flex

    Hi, To what extent WebCenter will be using Adobe Flex.? Does Flex Portlets are included in this or do we a separate framework for developing. Thanks in Advance.

  • How long do Ink cartridges last?

    I have a Photosmart premium 309 g-m printer that is trying to tell me that my ink cartriges are near empty even though they have had very little use. I bought genuine HP cartridges, fitted them, all worked well at first but now several months later -

  • Converting EJB Object into XML

    All: Suppose I have an EJB that is named MyDog, it has attributes as follows: name breed weight age Is there a way to convert this Object into an XML document? Something like: <?xml version=\"1.0\" ?> <MyDog> <name>Bubba</name> <breed>Australian Shep