|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I suspect, given my experience, that what happens is that JavaApplicationStub launches the Java code, but stays connected with the JVM and listens for Apple Events from the rest of the system. Those events are then passed to the application via the ApplicationListener interface. I think the handleOpenApplication happens as a direct result of registering the listener. When trying to get the hipster code to work, I watched the Apple Events being sent back and forth and there didn't appear to be one, which suggests the method is called whether or not a stub like JavaApplicationStub is running. Consequently an application starting via a shell script will still get the handleOpenApplication(). I must admit, I never got the handleReOpenApplication() method. |
_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
| References: | |
| >Re: handleOpenFile(ApplicationEvent) not being called (From: Elliott Hughes <email@hidden>) |
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.