This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Swing / AWT / SWT and the fly likes JFileChooser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JFileChooser" Watch "JFileChooser" New topic


Vaskar Dasgupta

Joined: Jul 20, 2001
Posts: 25
Have anyone noticed that i the "SaveDialog" of JFileChooser the 'Details' button on the top right corner is always pressed and one cannot toggle between 'Details' and 'List'. I believe its abug, if any one has come across this do please let me know. Secondly how do i get the File Types as ".xml" and remove the "All Files(*.*)" option in the "Files of Type :" combobox.
Your help is appreciated.
Vaskar Dasgupta

Kindly reply back.
Paul Stevens
Ranch Hand

Joined: May 17, 2001
Posts: 2823
You need to create a filter. From the API
subject: JFileChooser
Similar Threads
save as text
Thumbnail view on JFileChooser
Look through files in a directory
Regarding JFileChooser Default Icons in Dialog box
java swing