How to get the linux folder and file icons and names in java?

Posted by André on Stack Overflow See other posts from Stack Overflow or by André
Published on 2010-06-15T07:49:32Z Indexed on 2010/06/15 7:52 UTC
Read the original article Hit count: 255

Filed under:
|
|
|

I'm creating a tree of folders and files in java. Windows and OSX return the system icons and name with the following code:

new JFileChooser().getIcon(File f);
new JFileChooser().getName(File f);

Is there any possibility to get the icons and name of unix systems?. A system command would be ok too.

Thanks.

© Stack Overflow or respective owner

Related posts about java

Related posts about linux