I'm writing an app and having some issues with the JFileChooser. It's actually working correctly, but I don't like the way it works.
The app has a button that launches a JFileChooser, and in this case the user is selecting a folder to do some processing on, not a list of files.
For example, in other apps I use, when I navigate to a folder I will often type in part of the path and then point and click the rest of the way; so I might type in "c:\some\folder", view all the subfolders, and then point and click the rest of the way. In my case, since I have the chooser set to JFileChooser.DIRECTORIES_ONLY, if c:\some\folder is a valid path, that's the path that gets selected.
Also, with the DIRECTORIES_ONLY setting, no files within folder are displayed, leading the user to believe the folder is empty.
JFileChooser is working as designed here, but I was wondering if anyone else had dealt with these types of issues, and had any ideas for creating intuitive browsing behavior.