On Wed, 20 Oct 2021 12:52:55 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
wrote:

>> Alexander Zvegintsev has updated the pull request incrementally with two 
>> additional commits since the last revision:
>> 
>>  - d.setLocationRelativeTo(null);
>>  - increase auto delay
>
> test/jdk/java/awt/Mixing/MixingOnDialog.java line 71:
> 
>> 69:         // Overlap the buttons
>> 70:         heavy.setBounds(130, 130, 200, 200);
>> 71:         light.setBounds(110, 110, 50, 50);
> 
> Probably you can call setUndecorated instead of changing the coordinate to 
> avoid the issue. Also, maybe move the dialog to centre of screen...Also, I 
> see setAutoDelay(20) is too less, should be consistent with other test which 
> is 100ms

Yes, `setUndecorated` is one of possible solutions, however it looks equal to 
changing location.

Updated the delay and dialog's location.

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

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

Reply via email to