File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes JFileChooser Empty Directory Choosing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JFileChooser Empty Directory Choosing" Watch "JFileChooser Empty Directory Choosing" New topic
Author

JFileChooser Empty Directory Choosing

Kenny Biggin
Greenhorn

Joined: Aug 09, 2001
Posts: 1
When using a JFileChooser in Directories only mode:
I have an application which requires the user to be able to choose a directory in which to store information.
If a user drills down into an EMPTY directory (i.e. no children folders) and presses 'Choose Directory' or whatever the apply button is called... I'd like this to fire an event with the directory they are in as the selected directory, so that they don't need to go back to the parent directory before picking the folder they want. Has anyone come across this scenario?
Cheers for any tips,
Kenny.
 
GeeCON Prague 2014
 
subject: JFileChooser Empty Directory Choosing