• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Cocoa/Java - How to get files dropped onto app from Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cocoa/Java - How to get files dropped onto app from Finder


  • Subject: Cocoa/Java - How to get files dropped onto app from Finder
  • From: Philippe Laval <email@hidden>
  • Date: Thu, 13 Jun 2002 12:44:25 +0200

You just need to impement the applicationOpenFile function. Seen the documentation about NSApplication


Methods Implemented By the Delegate

public abstract boolean applicationOpenFile( NSApplication theApplication, String filename)

Sent directly by theApplication to the delegate. The method should open the file filename, returning true if the file is successfully opened, and false otherwise. If the user started up the application by double-clicking a file, the delegate receives the applicationOpenFile message before receiving applicationDidFinishLaunching. ( applicationWillFinishLaunching is sent before applicationOpenFile.)
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Prev by Date: Re: Object from TableView cell
  • Next by Date: Re: Cocoa/Java - How to get files dropped onto app from Finder
  • Previous by thread: Re: Cocoa/Java - How to get files dropped onto app from Finder
  • Next by thread: Re: Cocoa/Java - How to get files dropped onto app from Finder
  • Index(es):
    • Date
    • Thread