Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JFileChooser Empty Directory Choosing  RSS feed

 
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!