aspose file tools*
The moose likes I/O and Streams and the fly likes A call for an OpenDir dialog...? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "A call for an OpenDir dialog...?" Watch "A call for an OpenDir dialog...?" New topic
Author

A call for an OpenDir dialog...?

Brian Coates
Ranch Hand

Joined: Jul 03, 2001
Posts: 42
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

Joined: Dec 03, 2001
Posts: 125
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

Joined: Jul 03, 2001
Posts: 42
thanks.. that worked.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A call for an OpenDir dialog...?