RFR: 8281738: Create a regression test for checking the 'Space' key activation of focused Button [v2]

Manukumar V S mvs at openjdk.java.net
Thu Feb 17 05:36:39 UTC 2022


On Thu, 17 Feb 2022 04:58:26 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> Manukumar V S has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fixed review comments: waitForIdle() added after frame creation and waits until button gains focus
>
> test/jdk/javax/swing/JButton/SpaceKeyActivatesButton.java line 99:
> 
>> 97: 
>> 98:     private static boolean isFocusOwner() {
>> 99:         return focusedButton.isFocusOwner();
> 
> This is a Swing component that should be accessed on EDT.

Fixed

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

PR: https://git.openjdk.java.net/jdk/pull/7460



More information about the client-libs-dev mailing list