RFR: 8190264: JScrollBar ignores its border when using macOS Mac OS X Aqua look and feel [v4]

Sergey Bylokhov serb at openjdk.java.net
Fri Dec 3 19:16:15 UTC 2021


On Fri, 3 Dec 2021 19:11:19 GMT, Sergey Bylokhov <serb at 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



More information about the client-libs-dev mailing list