FilenameFilter
and FileFilter
implementation, allowing to use it in both JFileChooser
or directories listings.String[] ext = {"jpg","jpeg","tiff","png","svg"}; ExtensionFilenameFilter graphicfilter = new ExtensionFileFilter(ext,"JPEG,PNG,TIFF,SVG images");
Copyright 2006-2024 Herve Girod. All Rights Reserved. Documentation and source under the LGPL v2 and Apache 2.0 licences