SWT on OS X: change application name

In my SWT Java based application it appears SWT

as the application name in the application menu. I tried to change it in Info.plist and use Display.setAppName("myApp")

it but it doesn't help. What else can I try?

By the way, I am launching the application using a shell script which is in MyApp.app/Contents/MacOS/MyApp

.

+2


source to share


2 answers


Display.setAppName()

should work provided it is called before instantiation Display

(either by you or implicitly, like if you call Display.getDefault()

).



+4


source


Haven't tested, but this description should provide an example ...



-1


source







All Articles