简体   繁体   中英

Changing java webstart hover text over OSX Mavericks dock icon

I have a java webstart, after starting it up and hovering over the java icon in the osx dock, "java" is displayed rather than my application name.

I am already doing this:

System.setProperty("com.apple.mrj.application.apple.menu.about.name", "MyApplication");

and adding

-Xdock:name=MyApplication

to my vm args. This was working fine before we upgraded to OSX Mavericks, thats when we started seeing "java". Users who have not upgraded to mavericks yet still see the applicationName when they hover over in the dock.

I've searched but haven't found any suggestions other than the above 2.

This may be a dupe of

SWT on Mac OS X: Change dock program name

and

How would I go about changing the hover text over icon in doc? (Java)

but haven't been able to resolve in Mavericks. Any suggestions?

You can set the CFBundleName in your application's Info.plist . Some related links are cited here , and this complete example displays the name on OS X 10.9 using Java 7.

<key>CFBundleName</key>
<string>RobotChase</string>

图片

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM