On Mon, 21 Apr 2025 19:20:13 GMT, Damon Nguyen <dngu...@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