How would I go about changing the hover text over

2019-08-01 02:09发布

Okay. I have a gui with a title called "My Java Application". When I minimize it to my doc and hover over the icon, it just says "java", not "My Java Application". How would I fix that?

P.S. I am using a Macintosh computer.

2条回答
我只想做你的唯一
2楼-- · 2019-08-01 02:31
  1. Close the app if it's running

  2. Open the app location in Finder. Right click icon in Doc - Choose Options/Show in Finder.

  3. Right click the App and rename to the new name

  4. Remove the app from the doc. Right click icon in Doc, Options/Remove from Doc

  5. Click on the app to launch from the finder window.

  6. The new app icon when launched - will have the new name as the hover text
  7. Right click the app icon, choose Options and Select Keep in Doc. Position the icon to your convenient location
  8. Close the app and mouse over the icon and watch the new name appearing as hover text
查看更多
The star\"
3楼-- · 2019-08-01 02:36

There's apparently a command line option for this on the Mac:

-Xdock:name="YourNameHere"

There's also some more information here:

查看更多
登录 后发表回答