| 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 and Description |
|---|---|
FileSystemView |
JFileChooser.getFileSystemView()
Returns the file system view.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JFileChooser.setFileSystemView(FileSystemView
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
Performs common constructor initialization and setup.
|
| Constructor and Description | |
|---|---|
JFileChooser(File
Constructs a
JFileChooser using the given current directory and
FileSystemView.
|
|
JFileChooser(FileSystemView
Constructs a
JFileChooser using the given
FileSystemView.
|
|
JFileChooser(String
Constructs a
JFileChooser using the given current directory path and
FileSystemView.
|
| Modifier and Type | Method and Description |
|---|---|
static FileSystemView |
FileSystemView.getFileSystemView()
|