aspose file tools
The moose likes Swing / AWT / SWT and the fly likes how to choose fold Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Reply Bookmark "how to choose fold " Watch "how to choose fold " New topic
Author

how to choose fold

John bai
Greenhorn

Joined: Aug 27, 2003
Posts: 3
i'm new .i want to choose fold ,but JFileChooser only choose file ,what should i do?please help me
Layne Lund
Ranch Hand

Joined: Dec 06, 2001
Posts: 3061
If you look at the API docs for JFileChooser, there is a method called setFileSelectionMode() that apparently lets you select directories (or folders).

Layne


Java API Documentation
The Java Tutorial
John bai
Greenhorn

Joined: Aug 27, 2003
Posts: 3
Oh,thank you very much.
because english is not my mother language,i have some trouble using english.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: how to choose fold
 
Similar Threads
Future of ExtJS
I use eclipse IDE and having a java code which has a if loop
new idea: the urinal fin!
I hate folding laundry!
Features missing in Laptop/Notebook