Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 The Software Craftsman this week in the Agile 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
Have you tried LearnNowOnline?
subject: JFileChooser