<p>I was wondering if there was some kind of J tool in the java swing library that opens up a file browser window and allows a user to choose a file. Then the ouput of the file would be the absolute path of the chosen file.</p>

<p>Thanks in advance,</p>

You can use the
JFileChooser
class, check
this example
.