Java JFileChooser getFileChooser()

Here you can find the source of getFileChooser()

Description

get File Chooser

License

Open Source License

Return

Default file chooser instance for the application.

Declaration

public static JFileChooser getFileChooser() 

Method Source Code

//package com.java2s;
import javax.swing.*;

public class Main {
    private final static JFileChooser fileChooser = new JFileChooser();

    /**/*from w  w  w .j  ava  2s .c  om*/
     * @return Default file chooser instance for the application.
     */
    public static JFileChooser getFileChooser() {
        return fileChooser;
    }
}

Related

  1. getFile(Component parent, String title, boolean write)
  2. getFile(FileFilter filter)
  3. getFile(String initialPath, final String extension, String TitleText)
  4. getFile(String message, boolean isLoadNotSave, File defaultFileOrDir, boolean allowMultipleSelection, String description, final String... extensions)
  5. getFile(String title, File initialDir)
  6. getFileChooser()
  7. getFileChooser()
  8. getFileChooser()
  9. getFileChooser()