On Thu, 11 Feb 2021 04:44:56 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
wrote:

>> BTW the test itself draws the button to the BufferedImage so uiscale should 
>> not affect that rendering, both subtests should work similarly.
>
> I believe similar thing was done for 
> https://github.com/openjdk/jdk/pull/950/files where the panel was drawn to 
> bufferedimage but uiScale was set to 1 to make the test stable and robot was 
> also used there to just delay but setUndecorated and setLocationRelativeTo() 
> was used.

That test uses a robot, and it may fail if the windows appeared under dock/etc.

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

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

Reply via email to