File Chooser Configuration
Preview Component
The component used to display the selected file preview in the browser view can be
replaced by setting the client property JFileChooser.previewComponent
on the JFileChooser.
The value must be a Component.
Traversing packages and applications
By default, the file chooser does not allow the user to traverse into a package or a bundled
application. This default behavior can be changed by setting the client properties
JFileChooser.packageIsTraversable
and JFileChooser.appBundleIsTraversable
to (Boolean) true
on the JFileChooser.
Options button
The display of the Options button can be controlled using the boolean client property
JFileChooser.optionsPanelEnabled
.
New Folder button
The display of the New Folder button can be controlled using the boolean client property
JFileChooser.canCreateDirectories
.