On Tue, 14 Sep 2021 22:05:56 GMT, Alisen Chung 
<[email protected]> wrote:

>> Added a resizing flag when the window is currently being resized to block 
>> mouseEntered and mouseExited events from being posted to that window.
>
> Alisen Chung has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   added bug ID to test

test/jdk/java/awt/event/MouseEvent/ResizeMouseExitEnterMisfire/ResizeMouseExitEnterMisfire.java
 line 61:

> 59:             public void run() {
> 60:                 frame = new JFrame();
> 61:                 frame.setSize(200, 200);

It is preferred to move the frame to centre of screen by calling 
frame.setLocationRelativeTo(null)

test/jdk/java/awt/event/MouseEvent/ResizeMouseExitEnterMisfire/ResizeMouseExitEnterMisfire.java
 line 175:

> 173:         test.resizeFromOutsideWindowTest();
> 174:     }
> 175: }

Please dispose the frame after the test is completed. Add a new line at EOF.

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

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

Reply via email to