How do I add items to the Finder context menu in Mac OS X using JAVA?

独自空忆成欢 提交于 2019-12-06 13:29:32

问题


I'm trying to port Java application to Mac OS, My program needs to add items to Finder context menu, Is there a way to add items using Java?

Thanks


回答1:


An old question, but for prosperity, I'd like to try to answer this.

The Liferay Nativity (Java) library is a cross-platform way of programatically adding icon overlays and context menus to file browsers, for Mac, Windows and Linux.

On Mac, Liferay Nativity relies on the Objective-C-based 'Finder Sync' framework:

  • Finder Sync overview (Mac OSX)
  • Finder Sync API Docs


来源:https://stackoverflow.com/questions/3923149/how-do-i-add-items-to-the-finder-context-menu-in-mac-os-x-using-java

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