Re: How to set app name in macOS, gradle?

2020-09-17 Thread Michael Hall
> On Sep 17, 2020, at 3:00 PM, Michael Paus wrote: > > NSMenuFX will fix, e.g., the "About" issue and will allow consistent > internationalization > of these predefined menu items. > I saw the above were supposed to support some localization. It wasn’t a current concern for me. It’s sort o

Re: How to set app name in macOS, gradle?

2020-09-17 Thread Michael Paus
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 > wrote: You can achieve this when you bundle your applicatio

Re: How to set app name in macOS, gradle?

2020-09-17 Thread Michael Hall
> On Sep 17, 2020, at 12:20 PM, Michael Paus 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

Re: How to set app name in macOS, gradle?

2020-09-17 Thread Rob Nikander
Okay, thank you. > On Sep 17, 2020, at 1:20 PM, Michael Paus wrote: > > You can achieve this when you bundle your application with jpackage. > For proper macOS menubar handling you should also consider to use > the library NSMenuFX (https://github.com/codecentric/NSMenuFX) because > JavaFX itsel

Re: How to set app name in macOS, gradle?

2020-09-17 Thread Michael Paus
You can achieve this when you bundle your application with jpackage. For proper macOS menubar handling you should also consider to use the library NSMenuFX (https://github.com/codecentric/NSMenuFX) because JavaFX itself still cannot do that. Michael Am 17.09.20 um 19:11 schrieb Rob Nikander: Hi,

How to set app name in macOS, gradle?

2020-09-17 Thread Rob Nikander
Hi, I’m trying to set the text shown in the macOS menubar. The advice I see online says to use -Xdock:name, but when I try that, I still see “java” in the menubar. Is there a way to make it use “MyAppName”? Some of my build.gradle.kts file is shown below. Rob plugins { application