Method setCurrentDirectory(File dir)
Return type: void
Member of: javax.swing.JFileChooser
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 m_fileChooser.setCurrentDirectory(rootDirectory);
2 configChooser.setCurrentDirectory(newdir);
3 setCurrentDirectory(aFile);
4 fc.setCurrentDirectory(new File(System.getProperty("user.dir")));
5 chooser.setCurrentDirectory(init.getParentFile());
6 chooser.setCurrentDirectory(new File(defaultDir));
7 chooser.setCurrentDirectory(new File("."));
8 fileChooser.setCurrentDirectory(file);
9 fileDialog.setCurrentDirectory(current);
10 chooser.setCurrentDirectory(openDirectory);
11 fd.setCurrentDirectory(new File(System.getProperty("user.dir")));
12 lfcDialog.setCurrentDirectory(new File(getApplication().getStringProperty("application",msPropertiesSuffix,"DefaultDirectory",getApplication().getRoot())));
13 chooser.setCurrentDirectory(SaveAdapter.directory);
14 setCurrentDirectory(ff);
15 jfc.setCurrentDirectory(new File(start));
16 setCurrentDirectory(dirFile);
17 fc.setCurrentDirectory(new File(System.getProperty("user.dir")));
18 classChooser.setCurrentDirectory(currdir);
19 f.setCurrentDirectory(new File(defDirectory));
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.