showFileDialog

fun showFileDialog(dialog: FileDialog): Optional<List<File>>

Shows the given FileDialog.

Return

Chosen file(s) or Optional.empty if canceled.

Parameters

dialog

The FileDialog to be shown.