public static interface FileChooserBuilder.SelectionApprover
JFileChooser.approveSelection()
Modifier and Type | Method and Description |
---|---|
boolean |
approve(File[] selection)
Approve the selection, enabling the dialog to be closed.
|
boolean approve(File[] selection)
approveSelection()
method. Use this
interface if you want to, for example, show a dialog asking
"Overwrite File X?" or similar.selection
- The selected file(s) at the time the user presses
the Open, Save or OK button