On Thu, 8 Sep 2022 11:00:14 GMT, Tejesh R <[email protected]> wrote:

>> 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.
>
> In mac, the selection is maintained during this state transition, only in 
> this scenario its not handled. And since same filechooser is used in 
> selecting the files ( Just pop-up dialogue is used to select the files) I 
> think it would be better to retain the selection.

In keyboard selection the state is actually not maintained. Then do you think 
it better to clear the selection and set selected files to null....?

-------------

PR: https://git.openjdk.org/jdk/pull/9996

Reply via email to