• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JFileChooser Empty Directory Choosing

 
Kenny Biggin
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic