List of usage examples for javax.swing JFileChooser getControlButtonsAreShown
public boolean getControlButtonsAreShown()
controlButtonsAreShown
property. 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); }