Java tutorial
import javax.swing.JFileChooser; public class Main { public static void main(String[] argv) { JFileChooser chooser = new JFileChooser(); boolean enabled = chooser.isAcceptAllFileFilterUsed(); chooser.showOpenDialog(null); } }