Meaningless Drivel is fun!*
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
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "JFileChooser" Watch "JFileChooser" New topic
Author

JFileChooser

Vaskar Dasgupta
Greenhorn

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
 
It is sorta covered in the JavaRanch Style Guide.
 
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