wood burning stoves 2.0*
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JFileChooser Empty Directory Choosing
 
Similar Threads
JFileChooser question
DirectoryChooser - How?
JFileChooser cannot choose a root directory
JFileChooser.DIRECTORIES_ONLY
File Chooser