File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Swing / AWT / SWT and the fly likes Folder Selector Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of RabbitMQ in Depth this week in the Open Source forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Folder Selector" Watch "Folder Selector" New topic
Author

Folder Selector

ajeesh_online
Greenhorn

Joined: Apr 30, 2006
Posts: 9
I got "File Selector in SWING" is there any "Folder SELECTOR" Option?
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
JFileChooser fc = new JFileChooser(".");
fc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
 
 
subject: Folder Selector