Example usage for javax.swing JFileChooser getAccessibleContext

List of usage examples for javax.swing JFileChooser getAccessibleContext

Introduction

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

Prototype

@BeanProperty(bound = false)
public AccessibleContext getAccessibleContext() 

Source Link

Document

Gets the AccessibleContext associated with this JFileChooser.

Usage

From source file:Main.java

public static void main(String[] argv) throws Exception {
    JFileChooser chooser = new JFileChooser();
    File f = new File(new File(".").getCanonicalPath());
    chooser.setCurrentDirectory(f);//from  w  w w .j  a  v a 2  s  .  c o m
    chooser.setCurrentDirectory(null);
    chooser.showOpenDialog(null);
    AccessibleContext obj = chooser.getAccessibleContext();

}