SWT on Mac OS X: Change dock program name

2019-09-16 12:12发布

问题:

I have a Java SWT program on Mac OS X that always shows 'java' when the mouse hovers over the dock icon. Is there a way to change 'java' to a more suitable program name?

回答1:

This is controlled by a system property:

-Xdock:name=AppName


标签: java macos swt