Selecting few files as input in a Java program
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/5182100/how-to-select-multiple-files-using-java-awt-filedialog">How to select multiple files using java.awt.FileDialog</a>  </p>
</blockquote>



<p>I'm writing a small java program that takes a file as input, reads the data, and prints the desire output to a file. I created a small JPanel where you can select the input and output files. I used <a href="http://docs.oracle.com/javase/1.5.0/docs/api/java/awt/FileDialog.html" rel="nofollow">FileDialog</a> 
to select the input file. The program works great, but I want to know if I can have the ability to select few files in the FileDialog and it will return an array of files. because sometimes the input will be split between few files.</p>

<p>Please give me any ideas you have.</p>

<p>Thanks</p>
