Input e Output in Java
Input e Output in Java
Input e Output in Java
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
Ricerca di un file nelle cartelle<br />
JFileChooser chooser = new JFileChooser();<br />
FileReader <strong>in</strong> = null;<br />
if (chooser.showOpenDialog(null) ==<br />
JFileChooser.APPROVE_OPTION) {<br />
File selectedFile =<br />
chooser.getSelectedFile();<br />
<strong>in</strong> = new FileReader(selectedFile);<br />
}<br />
Laboratorio di Programmazione - Luca Tesei<br />
27