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
-
i have purchased itunes match but the cloud will not load on my ipad 4.it works on my iphone 5 & it originally worked on my ipad.the only music that will show up is stuff that i bought from the itunes store.any ideas on how to get this to work?
On the MBP, in iTunes, switch to Song view and enable the iCloud Status column by pulling down View > View options and selecting the option for "iCloud Status." Close the small window. Look for any tracks that have a status of "waiting." If you see several of them disable iTunes Match while holding down the Option key. Quit iTunes, wait a few seconds, then open it again and turn iTM back on. Let it compelete the scan. Wait until all tracks that are "waiting" have a status of either "matched" or "uploaded."
On the iPad, turn off iTunes Match then launch the Music app and let the contents clear out. Power cycle the iPad for good measure, then re-enable the service once all the tracks in iTunes have been processed. -
New songs and new audio book from Audible will not sync from my computer. Any idea why?
I updated my 4S to OS7. I am now unable to sync new songs and new audiobook from Audible from my computer. Any idea why?
Might be incompatible with iOS 7.
Keep in mind, Audible is not Apple software and Apple is not responsible for third party software compatibility.
Check the Audibile website for iOS 7 support. -
my iCal calendar that I created with the color green keeps changing to purple. no matter how many times I change it to green, it turns it back to purple. Of course this only happens with iCloud and not "from my Mac". Any ideas on how to correct this? This seems like a trivial error, but it's super annoying.
I called Apple and they said that they know about this problem. It's a problem with iCloud which their Engineers know about. (there was a new iCloud release, hence...) No ETA for a fix yet. I asked that this be escalated so Engineering doesn't put it at the bottom of their fix list. I talked to a Senior Advisor and mentioned to them to have QA check their regression tests as this has happened before to me (the problem just didn't take this long to resolve). I like to use green too for important stuff, so I've resorted to creating a new calendar using the normal calendar green for events going forward. They could have picked another color besides green to have this problem with and I wouldn't have been so upset. ;-)
-
I have issues with Itunes 10.6 on Lion and Quicktime 10.1. They don´t play bought movies from I tunes store, any ideas why?
I found the same issue... I can play other movies but no purchased ones. I can get the sound but the picture is scrambled. Does anyone know how to uninstall and reinstall iTunes? maybe that will work.
-
My iphone 5 will no longer sync to Microsoft Outlook 2010. Any ideas how to fix this?
My iphone 5 will no longer sync to Microsoft Outlook 2010. Any ideas how to fix this?
Hi jenmik,
Welcome to the Apple Support Communities!
If you are having issues syncing your iPhone to Microsoft Outlook 2010, please read over and use the information provided in the attached article to assist you in troubleshooting.
Troubleshooting Sync Services on Windows with Microsoft Outlook 2003, Outlook 2007, or Outlook 2010 - Apple Support
Cheers,
Joe -
Can no longer print from IPad. Prints ok from MacBook pro. Any ideas?.
I am able to print from a MacBook Pro but I am no longer able to print from my IPad. Any ideas?
Hi DanielBN,
I am glad that you are using an Hp ePrint printer, B210a.
I would suggest you to check the print center on your iPad and cancel jobs in the print center and then try.
You can follow the step bleow in order to cancel jobs on the iPad.
Click on the home key 2times.
It will bring up the apps you visited and it should also show print center.
Click on the print center and cancel the first job or all the jobs.
Then try printing from the iPad.
Do let us know the result.
Thanks
Josh.C
Click on the BLUE KUDOS button on the left to say "Thanks"
Although I am an HP employee, I am speaking for myself and not for HP. -
my old music liburary is not accessible as the laptop is dead so I cannot sync yto the cloud but all my music is on my ipad. I have I pad match but it wont copy from my ipad. any ideas on how i can resuce my music libruary?
See here: https://discussions.apple.com/docs/DOC-3141
-
I have an imac with IMAP email. have managed to partially sync up my ipad with it in that I can receive the same emails that appear on my imac but I can't send from my ipad. Any ideas?
That sounds like a settings issue to me. Check with your IT depatment to make sure you have it configured properly.
-
After downloading OS 5.0, none of my contacts reloaded from the backup. Any idea how to get them back?
I am having the same problem.....13 years of my HUSBAND'S business contacts are gone. Let me know if you figure this out!
-
My computer is a macbook pro 10.5.8 and my iphoto randomly deleted from my computer. Any ideas how to get it back on?
Reinstall it from the computer's original disks or an iLife 09 or earlier install DVD, and then run all applicable iPhoto updaters.
(104407) -
I cannot get the photoshop download to start from the order page - any ideas?
i cannot get the photoshop download to start from the order page - any ideas?
Brookie_g75093 I would recommend trying the steps listed in I can't download a purchased product from the Adobe.com Store.
-
Running LR 5.6 on OSX 10.9.4. Can't import from Canon 7D. Any ideas?
For future reference, if there is an error message, you should probably quote it in your original message on the subject.
"Could not be read" indicates that you do not have WRITE permission to the destination directory when you try to import, so change your permissions.
"not recognized" might indicate the camera card itself is corrupted or the card reader is failing ... or the problem might go away if you change your permissions. -
My adobe garamond font has disapeared from my font book any ideas on how to get it back please?
Got it sorted
-
Just recently had to replace my iPad, backed up my old iPad on iCloud can't find my pictures from the old iPad any ideas?
Navigate to Settings > General > Software Update and install any updates available.
Navigate to Settings > General > Reset > Erase all contents and settings on the device you want to restore.
When this completes and the Set-Up Assistant starts, choose "Restore from iCloud Backup" and enter your iCloud account and password. You will see the three most recent backups for each of the devices on which you enabled Backup. Choose which backup to restore from.
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
-
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