I created a file filter for csv file. when I click browse, this
extension is shown nad I have the option to select all files in the
combo box. How can I make all files the default?
thanks,
rjl444
> I created a file filter for csv file. when I click browse, this
> extension is shown nad I have the option to select all files in the
> combo box. How can I make all files the default?
> thanks,
> rjl444
yourFileChooser.addChoosableFileFilter(yourCSVFileFilter)
yourFileChooser.setFileFilter(yourFileChooser.getAcceptAllFileFilter());
int res = yourFileChooser.showOpenDialog(parentComponent);

Signature
Regards,
Roland de Ruiter
___ ___
/__/ w_/ /__/
/ \ /_/ / \
rjl444 - 18 Mar 2005 17:49 GMT