This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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 OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 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
wood burning stoves
subject: JFileChooser
It's not a secret anymore!