• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

A call for an OpenDir dialog...?

 
Brian Coates
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a call to open an "Open Directory" dialog box, similar to the OpenFile dialog box? Instead that you're selecting a directory instead of a file?
Thanks..
brian
 
Steve Deadsea
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JFileChooser has options for whether it will accept files, directories, or either. Here is an example that accepts multiple files or directories:
 
Brian Coates
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks.. that worked.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic