RFR: 8299522: Incorrect size of Approve button in custom JFileChooser [v10]

Tejesh R tr at openjdk.org
Tue Jan 17 05:07:42 UTC 2023


On Mon, 16 Jan 2023 18:11:14 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Tejesh R has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Updated JTREG summary
>
> test/jdk/javax/swing/JFileChooser/CustomApproveButtonTest.java line 71:
> 
>> 69:             frame.setVisible(true);
>> 70: 
>> 71:             JButton customApproveButton = fileChooser.getUI().getDefaultButton(fileChooser);
> 
> we should check the changes in getApproveButtonToolTipText and getApproveButtonMnemonic as well.

For Mnemonic the default value is zero, so just have to check if its zero right......?

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

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



More information about the client-libs-dev mailing list