@Override public boolean accept(final File file){
  if (file != null) {
    if (file.isDirectory()) {
      return true;
    }
    final String extension=getExtension(file);
    if (extension != null && filters.containsKey(extension)) {
      return true;
    }
  }
  return false;
}

@ Override public boolean accept ( final File file ) { if ( file != null ) { if ( file . isDirectory ( ) ) { return true ; } final String extension = getExtension ( file ) ; if ( extension != null && filters . containsKey ( extension ) ) { return true ; } } return false ; }
return true if this file should be shown in the directory pane , false if it shouldn ' t . files that begin with " . " are ignored .
