title: JFileChooser - multiple file filters?
body: <p>I have a question about the JFileChooser in Swing. I'm trying to get multiple file extensions in the drop-down box, but have no idea how to do it.</p>
  
  <p>There is the method</p>
  
  <pre><code>extFilter = FileNameExtensionFilter(description, extensions);
  </code></pre>
  
  <p>that I can then use by writing</p>
  
  <pre><code>fileChooser.setFileFilter(extFilter);
  </code></pre>
  
  <p>however, as you can see, this only supports one option in the drop-down list. How do I add more?</p>