Here you can find the source of getFileChooser()
public static JFileChooser getFileChooser()
//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; } }