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 Thu, 2 Dec 2021 20:18:51 GMT, Alisen Chung <achung at openjdk.org> wrote:
>> But it is not necessary to use the robot at all? Can you try to set the scollbar thumb position/move it programmatically w/o a robot? If it is possible then it will be rendered on top of the red area -> it will be possible to render it to the buffered image and just check the pixel in the right position(is it red or not).
>
> 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.
-------------
PR: https://git.openjdk.java.net/jdk/pull/6374
More information about the client-libs-dev
mailing list