Mailing Lists: Apple Mailing Lists

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

Re: Java Web Start (global menubar)



On Thu Aug 15 23:56:05 MDT 2002, Paul Roebuck <email@hidden> said :

I haven't tried this but couldn't this be done in your app's JNLP file.
Perhaps something like:

-------------------------------------------------
<resources os="Mac\ OS\ X" arch="ppc">
<property name="com.apple.macos.useScreenMenuBar"
value="false" />
<property name="com.apple.mrj.application.apple.menu.about.name"
value="App" />
<property name="Xdock:name"
value="App" />
</resources>
-------------------------------------------------

Yes ! Thanks.

I can confirm that the useScreenMenuBar property works via JNLP.
If it is also set in the program, the one in the program dominates.

Naturally. The code always wins.

I was not able to confirm that the other two properties work.
When I check from within the program, the properties *are* set,
but they do not seem to have any effect. JWS still uses the title field
from the JNLP file for the Dock name and or the app name in
the MacOS menu bar (I don't have any Mac specific code in the program).


No Mac-specific code required - just GUI property settings.

- Well, the first one's obvious :)
- Setting the second should change the string displayed in
Application Menu-> About <value>... I don't normally set this
myself since it seems to be an override for the third.
- The third should modify the name of the application menu
itself as well as the name displayed if cursor hovers over
dock icon for application.

Try setting the other two to unique bizarro strings and report
if anything changes. I'll know what to throw out of my files.

I'm still trying to finish up the normal application code for
my own project before going JNLP. I had written some practice
dot-jnlp files while doing my research but had nothing to test
them against.

You may want to get Mauro Marinilli's book for more in-depth
coverage.

--
----------------------------------------------------------
Out of the 10Base-T, through the router, down the T1, over the
leased line, off the bridge, past the firewall... nothing but Net.
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.



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.