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.
When the user clicks open here, I want it to return the full path and not the file. How do I do this?