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 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 and Description |
---|
JFileChooser(File currentDirectory,
FileSystemView fsv)
Constructs a
JFileChooser using the given current directory
and FileSystemView . |
JFileChooser(FileSystemView fsv)
Constructs a
JFileChooser using the given
FileSystemView . |
JFileChooser(String currentDirectoryPath,
FileSystemView fsv)
Constructs a
JFileChooser using the given current directory
path and FileSystemView . |
Modifier and Type | Method and Description |
---|---|
static FileSystemView |
FileSystemView.getFileSystemView() |
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, 2018, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.