RFR: 8296275: Write a test to verify setAccelerator method of JMenuItem [v8]

Naveen Narayanan duke at openjdk.org
Tue Dec 13 16:41:44 UTC 2022


On Mon, 12 Dec 2022 20:54:09 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> Naveen Narayanan has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   8296275: Removing trailing whitespaces.
>
> test/jdk/javax/swing/JMenuItem/JMenuItemSetAcceleratorTest.java line 61:
> 
>> 59:         JMenuBar bar = new JMenuBar();
>> 60:         JMenu menu = new JMenu("File Menu");
>> 61:         JMenuItem menuItem = new JMenuItem("File Menu Item");
> 
> _File_ is much more standard than _File Menu_ unless you have a specific reason for a longer menu item.

Changed to File

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

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



More information about the client-libs-dev mailing list