I was messing around with my icons using Iphile a while back. It seemed like a simple thing that couldn't really mess anything up, but I was wrong. I have gotten everything pretty much back to normal, ...
This class provides an Icon getIcon(File f) method that you can override to return a suitable javax.swing.Icon for the specified File object. After instantiating your FileView subclass, pass it to ...