Integrated: JDK-8282046: Create a regression test for JDK-8000326

Srinivas Mandalika smandalika at openjdk.java.net
Wed Mar 30 16:09:46 UTC 2022


On Thu, 17 Feb 2022 09:56:45 GMT, Srinivas Mandalika <smandalika at openjdk.org> wrote:

> Create a regression test for CCC8000326
> 
> Issue is identified by [JDK-8000326](https://bugs.openjdk.java.net/browse/JDK-8000326), which identifies that after focus moves into JMenuBar, whose focus traversal key is disabled by default, it never moves to other focusable component.
>  
> By default, pressing the Tab key does not transfer focus from a JMenuBar which is added to a container together with other Swing components, because the focusTraversalKeysEnabled property of JMenuBar is set to false. To resolve this, you should call the JMenuBar.setFocusTraversalKeysEnabled(true) method.
>  
> The test verifies focus traversal for the above described scenario.
> This review is for migrating tests from a closed test suite to open.

This pull request has now been integrated.

Changeset: 97c7298a
Author:    Srinivas Mandalika <smandalika at openjdk.org>
Committer: Alexey Ivanov <aivanov at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/97c7298a39cdd683508617d904c83cc3261da15b
Stats:     105 lines in 1 file changed: 105 ins; 0 del; 0 mod

8282046: Create a regression test for JDK-8000326

Reviewed-by: aivanov

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

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



More information about the client-libs-dev mailing list