On Thu, 28 Apr 2022 09:11:19 GMT, DamonGuy <d...@openjdk.java.net> wrote:

> Closed repo test fix from the test sprint. This test was approved in the 
> closed repo and has been converted to an open repo test.
> 
> This test checks if the coordinates are still correct after changing focuses 
> between different JInternalFrames. The test is now automated instead of 
> manual like the previous, closed version. This needs to be a headful test to 
> allow robot to click on the different frames and to check coordinates.
> 
> The issue was that in MacOS, the button wouldn't appear at a normal size. To 
> fix this, the bounds have been increased to allow the button to be fully 
> visible with the designated frame sizes on all L&Fs.

test/jdk/javax/swing/JInternalFrame/4202966/IntFrameCoord.java line 77:

> 75:         };
> 76: 
> 77:         b.addMouseListener(mouseListener);

Note that b/if1/if2 are Swing components and should be accessed on the EDT

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

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

Reply via email to