Piotr Rychlik wrote:
>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).
They work when I use them on J2SE 1.4.2 on Mac OS X 10.4.2, and also when I
use J2SE 5.0. They work also for me on PPC or x86 (10.4.5) hardware.
Please describe exactly which Java and OS versions, and CPU architecture
you're using.
There were some early 1.4.1 Java versions where handleOpenFile() misbehaved
in the way you describe. If you're using that Java or OS version, then you
either have to accept it as-is or upgrade.
-- GG
_______________________________________________
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