javax.swing.filechooser (Java SE 14 & JDK 14)
Description: declaration: module: java.desktop, package: javax.swing.filechooser
Keywords: javax.swing.filechooser package

Module java.desktop

# Package javax.swing.filechooser

Contains classes and interfaces used by the `JFileChooser` component.

Note: Most of the Swing API is not thread safe. For details, see Concurrency in Swing, a section in The Java Tutorial.

## Related Documentation

This document forms the complete API specification. For overviews, tutorials, examples, guides, and tool documentation, please see:

- How to Use File Choosers, a section in The Java Tutorial
- Internationalization Overview
- Input Method Framework Overview

Since:
  1.2

- Class Summary
  Class | Description
  --- | ---
  FileFilter | `FileFilter` is an abstract class used by `JFileChooser` for filtering the set of files shown to the user.
  FileNameExtensionFilter | An implementation of `FileFilter` that filters using a specified set of extensions.
  FileSystemView | FileSystemView is JFileChooser's gateway to the file system.
  FileView | `FileView` defines an abstract class that can be implemented to provide the filechooser with UI information for a `File`.