/** * Creates an "All supported file types" combo filter * encompassing all of the given filters. */ private static FileFilter makeComboFilter(FileFilter[] filters) { return filters.length > 1 ? new ComboFileFilter(filters, ALL_TYPES) : null; }
/** * Creates an "All supported file types" combo filter * encompassing all of the given filters. */ private static FileFilter makeComboFilter(FileFilter[] filters) { return filters.length > 1 ? new ComboFileFilter(filters, ALL_TYPES) : null; }
temp[j] = (FileFilter) filters.elementAt(i + j); v.add(new ComboFileFilter(temp, temp[0].getDescription())); i += temp.length - 1; // skip next temp-1 filters
temp[j] = (FileFilter) filters.elementAt(i + j); v.add(new ComboFileFilter(temp, temp[0].getDescription())); i += temp.length - 1; // skip next temp-1 filters