Example usage for javax.swing JFileChooser getControlButtonsAreShown

List of usage examples for javax.swing JFileChooser getControlButtonsAreShown

Introduction

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

Prototype

public boolean getControlButtonsAreShown() 

Source Link

Document

Returns the value of the controlButtonsAreShown property.

Usage

From source file:Main.java

public static void main(String[] a) {
    JFrame frame = new JFrame("JFileChooser Popup");
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

    JFileChooser fileChooser = new JFileChooser(".");

    boolean b = fileChooser.getControlButtonsAreShown();

    frame.add(fileChooser, BorderLayout.CENTER);

    frame.pack();/* w  w w  .j  av a2 s .com*/
    frame.setVisible(true);
}