RFR: 8354695: Open source several swing tests batch7 [v2]
Sergey Bylokhov
serb at openjdk.org
Mon Apr 21 20:21:42 UTC 2025
On Mon, 21 Apr 2025 19:20:13 GMT, Damon Nguyen <dnguyen at openjdk.org> wrote:
>> Open-sourcing and standardizing several swing tests (JScrollPane & JRootPane)
>
> Damon Nguyen has updated the pull request incrementally with one additional commit since the last revision:
>
> Syntax fix
test/jdk/javax/swing/JRootPane/bug4403624.java line 79:
> 77: SwingUtilities.invokeAndWait(() -> p = b.getLocationOnScreen());
> 78:
> 79: r.mouseMove(p.x + (b.getWidth() / 2), p.y + (b.getHeight() / 2));
you called the b.getLocationOnScreen() on EDt but what about b.getWidth() and b.getHeight()
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24758#discussion_r2052947669
More information about the client-libs-dev
mailing list