aspose 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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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.
 
Don't get me started about those stupid light bulbs.
 
subject: JFileChooser Empty Directory Choosing
 
Similar Threads
DirectoryChooser - How?
File Chooser
JFileChooser cannot choose a root directory
JFileChooser.DIRECTORIES_ONLY
JFileChooser question