Jfilechooser removing all file types
I've created a Jfilechooser and created my own class which implements the FileFilter interface.
Pretty much this only lets files of type ".save" which are my saved files be seen when the jfilechooser is opened. However when opened in the drop down box theres still an option to choose "all files". Is there any way to remove this so only my filter is shown?
I've looked on the net but only found sources of the filter stuff that I've already done.
My code for the Jfilechooser is here:
The SaveFileFilter class I wrote just uses the accept and getDescription method from the interface which only lets ".save" files be shown.
JFileChooser chooser = new JFileChooser();
Thanks in advance