RFR: 4834298: JFileChooser.getSelectedFiles() failed with multi-selection and double-click [v3]
Jayathirth D V
jdv at openjdk.org
Thu Sep 8 10:53:41 UTC 2022
On Thu, 8 Sep 2022 10:41:11 GMT, Tejesh R <tr at openjdk.org> wrote:
>> If we replicate the same then previously selected files will be cleared and user wont be able to retain the selected files.
>
> Clearing the selection from multi to single is fine, but the reverse might not be right I guess..... Since selected file/files can be retained when user switch to multi selection.
In this scenario we are actually closing the first JFileChooser dialog and then opening another JFileChooser dialog with multi-selection. Do we need to maintain selected file state between these dialogs? If yes, why? Please clarify.
-------------
PR: https://git.openjdk.org/jdk/pull/9996
More information about the client-libs-dev
mailing list