I have an implementation of the FileFilter class used with JFileChooser and it worked for jdk versions upto 1.6.30 by correctly filtering the file types when the JFileChooser was invoked. I then upgraded to jdk188.8.131.52 and suddenly the JFileChooser instead defaults to "All Files" and doesn't filter by file type as it used to. Code fragment below
JFileChooser chooser = new JFileChooser(aFile.getAbsolutePath());
Is there something else that needs to change.
I know there is a java implementation of the FileFilter class - FileNameExtensionFilter - but I really would like to know what is causing this change in behaviour between the jdk versions.