Method to implement Windows Explorer icon overlays with Java

允我心安 提交于 2019-12-24 07:13:53

问题


I am writing a cloud-sync application in Java with .jni integration to virtualize a cloud file-system in windows explorer.

Now i want to implement icon overlays like owncloud to see the state of a node like this:

I found some solutions for C#. Is this also possible with Java if using a jni interface to get access to the Icon Handlers.

Anyone knows a existing solution?

P.S. Tha last question for this is 4 years old so there is eventually a new solution for modern systems with java8 in combination with a native .dll available.

Thank you for any hint.


回答1:


I just found a solution for Java 1.7+ in combination with native and jni dlls. Works with Windows Vista+, Mac and Linux.

"Liferay Nativity is a cross-platform library for adding icon overlays and context menus to file browsers."

You can find the GIT project here:

https://github.com/liferay/liferay-nativity

Anyone sucessfully integrated this? Trying to do a test implementation now.



来源:https://stackoverflow.com/questions/39306115/method-to-implement-windows-explorer-icon-overlays-with-java

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