|
I got it to show the FileChooser window, and return a file. The only problem is that it doesn't return the full directory path (I'm using Windows).
I made a class based on a JInternalFrame called Browse, and the JFileChooser in this class I called browser.
Here is my code:
Browse br = new Browse();
br.browser.showOpenDialog(null);
File selection = br.browser.getSelectedFile());
What method can I use to return the entire path?
Thanks again for your help.
|