title: Disable "All files" when using FileNameExtensionFilter in java
body: <p>I am using the <a href="http://docs.oracle.com/javase/7/docs/api/javax/swing/filechooser/FileNameExtensionFilter.html" rel="noreferrer">FileNameExtensionFilter</a> to filter the file type but when the user selects the open button, they have the option to select "All files" from the file type. is there a way to disable that option?</p>
  
  <pre><code> FileFilter filter = new FileNameExtensionFilter("JPEG file", "jpg", "jpeg");
   JFileChooser fileChooser = ...;
   fileChooser.addChoosableFileFilter(filter);
  </code></pre>
  
  <p>so something to add to above code which disallow user to select any other file? </p>