RFR: 4912623: GTK L&F: Folder list of the JFileChooser is allowing multiple selection unlike native [v3]
Abhishek Kumar
abhiscxk at openjdk.org
Wed Dec 14 17:05:31 UTC 2022
On Tue, 13 Dec 2022 18:39:00 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
>> Abhishek Kumar has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:
>>
>> - Subtest added for multiselection disabled
>> - Merge
>> - Update for folder list and test review comment update
>> - Select all files on CTrl+A fix
>
> src/java.desktop/share/classes/com/sun/java/swing/plaf/gtk/GTKFileChooserUI.java line 567:
>
>> 565: fc.setLayout(new BorderLayout());
>> 566: fc.setAlignmentX(JComponent.CENTER_ALIGNMENT);
>> 567: fc.setMultiSelectionEnabled(true);
>
> Please double check that this will not override what the user set
@mrserb Please have a look on latest changes.
-------------
PR: https://git.openjdk.org/jdk/pull/11627
More information about the client-libs-dev
mailing list