Method getCurrentDirectory()
Return type:
java.io.File
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
currentDirectory = chooser.getCurrentDirectory();
2
currentDirectory = chooser.getCurrentDirectory();
3
super.setSelectedFile(getCurrentDirectory());
4
File dir = fc_.getCurrentDirectory ();
5
File dir = chooser.getCurrentDirectory();
6
lastPath=chooser.getCurrentDirectory();
7
dir = fc.getCurrentDirectory().getPath()+File.separator;
8
currDir = chooser.getCurrentDirectory();
9
openDirectory = chooser.getCurrentDirectory();
10
updateCurrentDir(chooser.getCurrentDirectory());
11
lastJFCDirectory = jfc.getCurrentDirectory().getAbsolutePath();
12
lastDirAccessed = chooser.getCurrentDirectory().getPath();
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.