问题
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