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

Alisen Chung achung at openjdk.java.net
Mon Dec 6 21:54:13 UTC 2021


On Fri, 3 Dec 2021 19:13:08 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:

>> 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.

In the TestBadBreak example, how do you know it's properly painting onto the final BufferedImage? When I try the same it doesn't seem to be painting anything on the BufferedImage, so there's no colors to compare.

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

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



More information about the client-libs-dev mailing list