Integrated: 8282857: Create a regression test for JDK-4702690
Srinivas Mandalika
smandalika at openjdk.java.net
Tue May 31 19:39:53 UTC 2022
On Wed, 9 Mar 2022 08:13:55 GMT, Srinivas Mandalika <smandalika at openjdk.org> wrote:
> Create a regression test for [JDK-4702690](https://bugs.openjdk.java.net/browse/JDK-4702690)
>
> In many cases in Swing it is possible to easily programatically determine that a JScrollBar (or two) is scrolling some JPanel (the cannonical case is a JScrollPane).
> In these cases, when accessibility support is instantiated (e.g. the AccessibleJScrollBar is created), a Controller_For and Controled_By relation should be instantiated between the AccessibleJScrollBar and the AccessibleJPanel that the JScrollBar and JPanel are associated with.
>
> This allows various assistive technologies, especially voice-recognition technologies, to better interact with scrolling items.
>
> The test put up validates that the target object for these properties(CONTROLLED_BY, CONTROLLED_FOR) are set appropriately for JScrollPane and JScrollBar.
> This review is for migrating tests from a closed test suite to open.
This pull request has now been integrated.
Changeset: 8df5f105
Author: Srinivas Mandalika <smandalika at openjdk.org>
Committer: Phil Race <prr at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/8df5f1058fb7244b65fa67bff8fd5a5282d70594
Stats: 118 lines in 1 file changed: 118 ins; 0 del; 0 mod
8282857: Create a regression test for JDK-4702690
Reviewed-by: kizune, serb
-------------
PR: https://git.openjdk.java.net/jdk/pull/7753
More information about the client-libs-dev
mailing list