On Mon, 11 Sep 2023 22:18:51 GMT, Alexander Zvegintsev <[email protected]>
wrote:
> Some closed AWT test are open sourced.
test/jdk/java/awt/Focus/TestWindowsLFFocus.java line 103:
> 101: SwingUtilities.invokeAndWait(() -> {
> 102: Point location = new Point(frameLoc);
> 103: location.y += bar.getHeight() / 2 + item.getHeight() /
> 2;
Suggestion:
location.y += bar.getHeight() / 2 + item.getHeight() / 2;
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15671#discussion_r1322667114