On Fri, 18 Feb 2022 08:02:31 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: Added @bug label, catch 
> UnsupportedLookAndFeelException and ignore LnF, added robot.waitForIdle() 
> after window creation

test/jdk/javax/swing/JButton/SpaceKeyActivatesButton.java line 134:

> 132:         panel.add(focusedButton);
> 133: 
> 134:         frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

Suggestion:

        frame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);

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

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

Reply via email to