disabling "rename" on JFileChooser
843804Apr 26 2002 — edited Aug 31 2006
I have to disable the rename option on JFileChooser. I understand that I'll have to extend the MetalFileChooserUI class and override the inner class definition of SingleClickListener in order to achieve this. I did exactly the same. But the result was not convincing. First of all the display went wrong. Only the names were displayed, the icons disappeared. Then when I clicked on the file names, it threw up NullPointerExceptions. Can anyone suggest the correct way to do it ?? Thanx.