On Tue, 8 Apr 2025 20:39:14 GMT, Harshitha Onkar <hon...@openjdk.org> wrote:

>> Alexander Zvegintsev has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   review comments
>
> test/jdk/java/awt/event/MouseEvent/MouseRButTest.java line 61:
> 
>> 59:             robot.delay(500);
>> 60: 
>> 61:             Point point = Util.invokeOnEDT(() -> 
>> button.getLocationOnScreen());
> 
> Received a suggestion on one of my other PRs that awt/regtesthelper/Util can 
> be replaced with swing/regtesthelper/Util.getCenterPoint(button) (makes it 
> easier and it is already called on EDT)

Yes, sometimes it may be helpful

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24516#discussion_r2034177295

Reply via email to