How to show “properties window” of native file system's file/folder in java

牧云@^-^@ 提交于 2019-12-11 04:23:58

问题


I am using java 1.6 and my java desktop application run on three O.S Windows, Linux and MAC. Using my application, user can list files and folder of native file system in JTree.

My requirement is user can able view a "property window" of file/folder according to native file system. Suppose if user in running my java desktop application on Window then if user right click on any file/folder and select "Properties" then this window can open -

If in-case we can not show native file system's file/folder properties file using java 1.6 then is there any way to get all these file/folder properties?


回答1:


here is a how to: http://docs.oracle.com/javase/tutorial/essential/io/fileAttr.html



来源:https://stackoverflow.com/questions/11132939/how-to-show-properties-window-of-native-file-systems-file-folder-in-java

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