SWT on Mac OS X: Change dock program name

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-24 19:33:57

问题


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


来源:https://stackoverflow.com/questions/7947595/swt-on-mac-os-x-change-dock-program-name

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!