|
|
@ -163,6 +163,8 @@ public class JavaFxNativeFileChooser implements FileChooserProvider { |
|
|
|
try { |
|
|
|
try { |
|
|
|
latch.await(); |
|
|
|
latch.await(); |
|
|
|
} catch (InterruptedException ignore) { |
|
|
|
} catch (InterruptedException ignore) { |
|
|
|
|
|
|
|
} finally { |
|
|
|
|
|
|
|
setShowDialogState(false); |
|
|
|
} |
|
|
|
} |
|
|
|
return selectedFiles.length > 0 ? JFileChooser.APPROVE_OPTION : JFileChooser.CANCEL_OPTION; |
|
|
|
return selectedFiles.length > 0 ? JFileChooser.APPROVE_OPTION : JFileChooser.CANCEL_OPTION; |
|
|
|
} |
|
|
|
} |
|
|
|