Mailing Lists: Apple Mailing Lists

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

Problems with Application and ApplicationListener



Hi,

I am using Application and ApplicationListener to be able to open files from the Finder by my Java program.
Unfortunately, without success. Double-clicking on the document icon only starts my application (handleOpenApplication method is called, but handleOpenFile is not). The application started this way does not respond to further attempts of openning files from the Finder (handleOpenFile is never called). If the application is started by double-clicking its icon, then double-clicking the document icon opens the document successfully (handleOpenFile is called).


Is there any example that demonstrates how to use Application and ApplicationListener classes to integrate Java programs with Max OS X?

Regards,
Piotr Rychlik

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to 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.