On Jan 11, 2007, at 7:25 PM, Jamison Hope wrote:
Hi all,
I have a cross-platform (OS X, Linux) application, written in C,
which invokes a JVM which uses Swing. Aside from launching the VM,
the native side goes off and does other things, but has no
graphical presence. As per TN2147 and simpleJavaLauncher, the JVM
is launched from a secondary thread. When the app launches, the
application menu's name (and the name in the Dock) is the name of
the executable; however, the "About", "Hide", and "Quit" menu
items all say "(null)" instead of the executable's name.
Our AWT attempts to infer the name from the bundle or the command
line when it's not provided, but in your situation, there's nothing
to infer.
Set the property "apple.awt.application.name" to the name you want
to use in the application menu and dock. That should be all you
need to do.
Scott
------------------
Scott Kovatch
Apple Inc.
Java Runtime Classes
Cleveland Hts, OH
email@hidden
I am Scott Kovatch, and I approved this message.