How to change the image of a selected File/Directory in JFileChooser while

Hi all,

I am trying to customize JFileChooser. Basically, I want to display a checked Icon for a selected directory(s) in JFileChooser

I know that fileView class returns icon for directory/files, but I am not sure how to change their images on selection.

your help is appreciated.

Ramesh

[318 byte] By [Ramesh4ua] at [2007-11-27 5:19:31]
# 1
Internally, the list is a JList, and as such could have a custom cell renderer applied to it...The trick is getting the JList itself.
bsampieria at 2007-7-12 10:42:57 > top of Java-index,Desktop,Core GUI APIs...
# 2
could you please anyone help me with this. I search all the web but I was not successful to find anything that would help me to create a custom renderer for JList component inside JFileChooser..if you can give me some reference websites that would be great.Ramesh
Ramesh4ua at 2007-7-12 10:42:57 > top of Java-index,Desktop,Core GUI APIs...