Now, is there a way to hook up with the default About/Quit actions in
the default created menu when you run
an app using web start ? I already have a java class which extends
from com.apple.eawt.Application and has
about/quit listeners. But it doesn't seem to work with web start
version.
Our web conferencing app is distributed by WebStart, and we have
no troubles hooking in to the About and Quit menu items using
Apple's API. However, our app is signed, and has all-permissions.
How does your code fail -- is it a SecurityException trying to
access the Apple classes?
Also is it correct that there is no workaround for the
apple.laf.useScreenMenuBar bug? (If I want it to be true)
There is a bug in Suns JWS native parsing code, which Apple has
inherited. Any properties that must be set before JWS itself
starts up (as opposed to setting them just before calling your
main routine) *must* by in the first RESOURCES block in the JNLP
file. Many of Apple's AWT properties are only evaluated when
Swing/AWT loads -- setting them after the fact has no effect. The
useScreenMenuBar property is one of them. We had this problem too
until we moved it into the very first RESOURCES block.
When the app is cached a default Info.plist will be created for it,
but is there a way to distribute your own Info.plist and override the
default?
I do not believe that this is correct. JWS does not place a .plist
file in the cache, at least for our app. Perhaps this plist file is
created as part of the creation of a "Desktop Shortcut" to the app?
Our app does not permit JWS to create such a shortcut, so if that
is where it comes from it explains why I never see one.
_______________________________________________
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