On Fri, 3 Dec 2021 19:11:19 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:
>> Is using robot to get the pixel color alright? > > You can render directly to the BufferedImage instead of the JFrame, so in > this case, it will not be necessary to use a robot, you will be able to check > the pixel directly. For example, you can take a look at the JButtonPaintNPE or TestBadBreak tests. ------------- PR: https://git.openjdk.java.net/jdk/pull/6374