## Uses of Class
javax.swing.JFileChooser

- Packages that use JFileChooser
  Package | Description
  --- | ---
  javax.swing.plaf | Provides one interface and many abstract classes that Swing uses to provide its pluggable look-and-feel capabilities.
  javax.swing.plaf.basic | Provides user interface objects built according to the Basic look and feel.
  javax.swing.plaf.metal | Provides user interface objects built according to the Java look and feel (once codenamed Metal), which is the default look and feel.
  javax.swing.plaf.multi | Provides user interface objects that combine two or more look and feels.

- - ### Uses of JFileChooser in javax.swing.plaf

    Methods in javax.swing.plaf with parameters of type JFileChooser
    Modifier and Type | Method and Description
    --- | ---
    `abstract void` | FileChooserUI.`ensureFileIsVisible(JFileChooser fc, File f)`
    `abstract FileFilter` | FileChooserUI.`getAcceptAllFileFilter(JFileChooser fc)`
    `abstract String` | FileChooserUI.`getApproveButtonText(JFileChooser fc)`
    `JButton` | FileChooserUI.`getDefaultButton(JFileChooser fc)` Returns default button for current `LookAndFeel`.
    `abstract String` | FileChooserUI.`getDialogTitle(JFileChooser fc)`
    `abstract FileView` | FileChooserUI.`getFileView(JFileChooser fc)`
    `abstract void` | FileChooserUI.`rescanCurrentDirectory(JFileChooser fc)`

  - ### Uses of JFileChooser in javax.swing.plaf.basic

    Methods in javax.swing.plaf.basic that return JFileChooser
    Modifier and Type | Method and Description
    --- | ---
    `JFileChooser` | BasicFileChooserUI.`getFileChooser()`

    Methods in javax.swing.plaf.basic with parameters of type JFileChooser
    Modifier and Type | Method and Description
    --- | ---
    `protected MouseListener` | BasicFileChooserUI.`createDoubleClickListener(JFileChooser fc, JList list)`
    `ListSelectionListener` | BasicFileChooserUI.`createListSelectionListener(JFileChooser fc)`
    `PropertyChangeListener` | BasicFileChooserUI.`createPropertyChangeListener(JFileChooser fc)`
    `void` | BasicFileChooserUI.`ensureFileIsVisible(JFileChooser fc, File f)`
    `FileFilter` | BasicFileChooserUI.`getAcceptAllFileFilter(JFileChooser fc)` Returns the default accept all file filter
    `protected JButton` | BasicFileChooserUI.`getApproveButton(JFileChooser fc)`
    `int` | BasicFileChooserUI.`getApproveButtonMnemonic(JFileChooser fc)`
    `String` | BasicFileChooserUI.`getApproveButtonText(JFileChooser fc)`
    `String` | BasicFileChooserUI.`getApproveButtonToolTipText(JFileChooser fc)`
    `JButton` | BasicFileChooserUI.`getDefaultButton(JFileChooser fc)`
    `String` | BasicFileChooserUI.`getDialogTitle(JFileChooser fc)` Returns the title of this dialog
    `FileView` | BasicFileChooserUI.`getFileView(JFileChooser fc)`
    `void` | BasicFileChooserUI.`installComponents(JFileChooser fc)`
    `protected void` | BasicFileChooserUI.`installDefaults(JFileChooser fc)`
    `protected void` | BasicFileChooserUI.`installIcons(JFileChooser fc)`
    `protected void` | BasicFileChooserUI.`installListeners(JFileChooser fc)`
    `protected void` | BasicFileChooserUI.`installStrings(JFileChooser fc)`
    `void` | BasicFileChooserUI.`rescanCurrentDirectory(JFileChooser fc)`
    `void` | BasicFileChooserUI.`uninstallComponents(JFileChooser fc)`
    `protected void` | BasicFileChooserUI.`uninstallDefaults(JFileChooser fc)`
    `protected void` | BasicFileChooserUI.`uninstallIcons(JFileChooser fc)`
    `protected void` | BasicFileChooserUI.`uninstallListeners(JFileChooser fc)`
    `protected void` | BasicFileChooserUI.`uninstallStrings(JFileChooser fc)`

    Constructors in javax.swing.plaf.basic with parameters of type JFileChooser
    Constructor and Description
    `BasicDirectoryModel(JFileChooser filechooser)`
    `BasicFileChooserUI(JFileChooser b)`

  - ### Uses of JFileChooser in javax.swing.plaf.metal

    Methods in javax.swing.plaf.metal with parameters of type JFileChooser
    Modifier and Type | Method and Description
    --- | ---
    `protected JPanel` | MetalFileChooserUI.`createDetailsView(JFileChooser fc)`
    `protected MetalFileChooserUI.DirectoryComboBoxModel` | MetalFileChooserUI.`createDirectoryComboBoxModel(JFileChooser fc)`
    `protected javax.swing.plaf.metal.MetalFileChooserUI.DirectoryComboBoxRenderer` | MetalFileChooserUI.`createDirectoryComboBoxRenderer(JFileChooser fc)`
    `protected JPanel` | MetalFileChooserUI.`createList(JFileChooser fc)`
    `ListSelectionListener` | MetalFileChooserUI.`createListSelectionListener(JFileChooser fc)` Creates a selection listener for the list of files and directories.
    `PropertyChangeListener` | MetalFileChooserUI.`createPropertyChangeListener(JFileChooser fc)`
    `void` | MetalFileChooserUI.`ensureFileIsVisible(JFileChooser fc, File f)`
    `protected JButton` | MetalFileChooserUI.`getApproveButton(JFileChooser fc)`
    `void` | MetalFileChooserUI.`installComponents(JFileChooser fc)`
    `protected void` | MetalFileChooserUI.`installListeners(JFileChooser fc)`
    `protected void` | MetalFileChooserUI.`installStrings(JFileChooser fc)`
    `void` | MetalFileChooserUI.`rescanCurrentDirectory(JFileChooser fc)`
    `void` | MetalFileChooserUI.`uninstallComponents(JFileChooser fc)`

    Constructors in javax.swing.plaf.metal with parameters of type JFileChooser
    Constructor and Description
    `MetalFileChooserUI(JFileChooser filechooser)`

  - ### Uses of JFileChooser in javax.swing.plaf.multi

    Methods in javax.swing.plaf.multi with parameters of type JFileChooser
    Modifier and Type | Method and Description
    --- | ---
    `void` | MultiFileChooserUI.`ensureFileIsVisible(JFileChooser a, File b)` Invokes the `ensureFileIsVisible` method on each UI handled by this object.
    `FileFilter` | MultiFileChooserUI.`getAcceptAllFileFilter(JFileChooser a)` Invokes the `getAcceptAllFileFilter` method on each UI handled by this object.
    `String` | MultiFileChooserUI.`getApproveButtonText(JFileChooser a)` Invokes the `getApproveButtonText` method on each UI handled by this object.
    `String` | MultiFileChooserUI.`getDialogTitle(JFileChooser a)` Invokes the `getDialogTitle` method on each UI handled by this object.
    `FileView` | MultiFileChooserUI.`getFileView(JFileChooser a)` Invokes the `getFileView` method on each UI handled by this object.
    `void` | MultiFileChooserUI.`rescanCurrentDirectory(JFileChooser a)` Invokes the `rescanCurrentDirectory` method on each UI handled by this object.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.