I was following
this tutorial to make my swing application more Mac-like. Putting my swing menu on the mac menubar is no problem. The thing I can't seem to change is my application name. Instead of "com.website.package.class" I just want it to display my application name. According to the tutorial I should call:
This sadly doesn't work. When I run my program from the command line and set the property like this
it does work.
I really would like to set this property in the code itself which would allow me to make just one jar file for all platforms and would not require run scripts.
Is there a workaround for this problem?