4

My SWT-based Java application shows SWT as application name in the application menu. I've tried changing it in Info.plist and using Display.setAppName("myApp") but it does not help. What else can I try?

BTW, I'm starting the application using a shell script which is located at MyApp.app/Contents/MacOS/MyApp.

Mot
  • 28,248
  • 23
  • 84
  • 121

2 Answers2

7

Display.setAppName() should work, at the condition that it is called before any Display instance is created (either by you or implicitly, e.g. if you call Display.getDefault()).

Jean-Philippe Pellet
  • 59,296
  • 21
  • 173
  • 234
-1

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

Tonny Madsen
  • 12,628
  • 4
  • 31
  • 70