customized parallel fileFilter

Hello

Is it possible to filter a JFileChooser for multiple file types

simultaneously? For example I want to show everything EXCEPT *.wav & *.zdl

& *.xls files. I dont see how it is possible b/c every filter you define

that extends FileFilter get added to the FileFilter[] and they only become

Pop-up filters not default. Is this correct? Is there a way to show only

certain types of suffixed files by default? tia

[464 byte] By [codemonk99a] at [2007-10-2 5:51:57]
# 1
Sure you can: your accept(File path) implementation just has to check if the extension of the offered File object is any of the extensions you want to allow.kind regards,Jos
JosAHa at 2007-7-16 2:01:36 > top of Java-index,Java Essentials,New To Java...
# 2
Hi JosThanks. But can it be done interactively? I want checkboxes of the file types of a given directory and be able to toggle listing w/o using the popup
codemonk99a at 2007-7-16 2:01:36 > top of Java-index,Java Essentials,New To Java...