Package | Description |
---|---|
javax.swing |
Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms.
|
javax.swing.filechooser |
Contains classes and interfaces used by the
JFileChooser component. |
Modifier and Type | Method | Description |
---|---|---|
FileSystemView |
JFileChooser.getFileSystemView() |
Returns the file system view.
|
Modifier and Type | Method | Description |
---|---|---|
void |
JFileChooser.setFileSystemView(FileSystemView fsv) |
Sets the file system view that the
JFileChooser uses for
accessing and creating file system resources, such as finding
the floppy drive and getting a list of root drives. |
protected void |
JFileChooser.setup(FileSystemView view) |
Performs common constructor initialization and setup.
|
Constructor | Description |
---|---|
JFileChooser(File currentDirectory,
FileSystemView fsv) |
Constructs a
JFileChooser using the given current directory
and FileSystemView . |
JFileChooser(String currentDirectoryPath,
FileSystemView fsv) |
Constructs a
JFileChooser using the given current directory
path and FileSystemView . |
JFileChooser(FileSystemView fsv) |
Constructs a
JFileChooser using the given
FileSystemView . |
Modifier and Type | Method | Description |
---|---|---|
static FileSystemView |
FileSystemView.getFileSystemView() |
Returns the file system view.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-Ubuntu+0-9b147-1