title: How to get full path directory from File Chooser
body: <p>I am creating an application using Netbeans 7.1.2 and I am using a file chooser, but i do not want the file chooser to get a file, instead i want it to return the full path to the directory that it is currently at.</p>
  <p><img src="https://i.stack.imgur.com/tSZ9t.png" alt="What the file chooser looks like" /></p>
  <p>When the user clicks open here, I want it to return the full path and not the file. How do I do this?</p>