if(filters.size() == 0) {
v.addElement(l[i]);
}
else {
for(Enumeration e = filters.elements(); e.hasMoreElements(); ) {
FileFilter filter = (FileFilter)e.nextElement();
if(filter.getDescription().equals(filterSelect.getSelectedItem())) {
File f = new File(cwd, l[i]);
if(f.isDirectory() || filter.accept(f)) {
v.addElement(l[i]);
break;
}
}
}