On Tue, 15 Feb 2022 08:06:46 GMT, Manukumar V S <m...@openjdk.org> wrote:

>> This test verifies in all platforms and in all 'Look and Feels' that 
>> pressing the 'Space' key generates ActionEvent on focused Button or not.
>
> 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.

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

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

Reply via email to