Java select a file location
<p>I'm not sure if this is even possible as I can't find anything about it after quite a few Google searches.</p>

<p>What I would like to do is on event open up a file dialog box and allow the user to select a folder and then store that folders full directory in a string. So if a user selected a folder in C:\Windows\Example the directory would be stored in String fileDir = C:\Windows\Example;</p>

<p>Does this make sense? I hope so as I'm struggeling to find the answer. I do apperciate the help, thanks in advance for looking and more thanks if you help me :) </p>
