Example usage for javax.swing JFileChooser isAcceptAllFileFilterUsed

List of usage examples for javax.swing JFileChooser isAcceptAllFileFilterUsed

Introduction

In this page you can find the example usage for javax.swing JFileChooser isAcceptAllFileFilterUsed.

Prototype

public boolean isAcceptAllFileFilterUsed() 

Source Link

Document

Returns whether the AcceptAll FileFilter is used.

Usage

From source file:Main.java

public static void main(String[] argv) {
    JFileChooser chooser = new JFileChooser();
    boolean enabled = chooser.isAcceptAllFileFilterUsed();

    chooser.showOpenDialog(null);/* www .  j  av a  2 s  .  c om*/
}