NSMenuFX will fix, e.g., the "About" issue and will allow consistent
internationalization
of these predefined menu items.
Am 17.09.20 um 21:55 schrieb Michael Hall:
On Sep 17, 2020, at 12:20 PM, Michael Paus <m...@jugs.org
<mailto:m...@jugs.org>> wrote:
You can achieve this when you bundle your application with jpackage.
With jpackage including these…
-Dapple.laf.useScreenMenuBar=true
-Dcom.apple.mrj.application.apple.menu.about.name=HalfPipe
My application name showed correctly on the top menu bar and in the dock.
Whether it was from these or just jpackage
--name -n <name>
Name of the application and/or package
I don’t know. What wasn’t showing correctly was the application names
within the application menu. Like “About LoaderLaunchStub”
These looked like they were parsed from the main class name.
app.mainclass=us.hall.hp.common.LoaderLaunchStub
After seeing this thread I found this…
-Dapple.awt.application.name=HalfPipe
Which seems to correct that.
NSMenuFX may give you additional functionality you want but with just
the above for jpackage should get you correct looking application
names about everywhere.