How can i force an user to select the file extension i want?
<p>How can I force the user to save the file as .java or whatever?</p>

<p>Thank you!</p>

<p>EDIT: </p>

<p>I would like to use the JFileChooser option and throughout, force the user to select the file extension that I want. </p>
