File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes DirectoryChooser - How? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "DirectoryChooser - How?" Watch "DirectoryChooser - How?" New topic

DirectoryChooser - How?

Em Aiy
Ranch Hand

Joined: May 11, 2006
Posts: 226
I want to open a "DIRECTORY CHOOSER" instead of JFileChooser so that user may choose the destination directory for output. how can i?

The difference between <b>failure</b> and <b>success</b> is often being <b>right</b> and being <b>exactly right</b>.
Davy Kelly
Ranch Hand

Joined: Jan 12, 2004
Posts: 384
I found this for you.

so JFileChooser could be a good tool to use.


How simple does it have to be???
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
perhaps all you need to do with your current JFileChooser is this

I agree. Here's the link:
subject: DirectoryChooser - How?
It's not a secret anymore!