Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Drag and Drop Examples Anywhere



At 08:42 AM 11/15/02 -0500, you wrote:
>I'm searching for any drag and drop example code for dragging something
>from the OSX finder to my Java Application.
>
>In particular, I just want to be able to drag a file or alias to my
>application and I want to extract the file's path and display it.
>That's it. Anyone know where I can find some examples?

My open source ImageJ application at http://rsb.info.nih.gov/ij/ supports drag and drop on both OS 9 and OS X. To try it out, drag and drop a .tif, .jpg, .txt or .java file on the ImageJ icon. To see how it's done, look at ImageJ/plugins/Utilities/QuitHandler.java and at ImageJ/ImageJ.app/Contents/Info.plist.

-wayne
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.

References: 
 >Drag and Drop Examples Anywhere (From: "Michael Purdy" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.