RFR: 8338103: Stabilize and open source a Swing OGL ButtonResizeTest
Manukumar V S
mvs at openjdk.org
Mon Aug 19 09:51:50 UTC 2024
On Mon, 19 Aug 2024 09:29:12 GMT, Tejesh R <tr at openjdk.org> wrote:
> > @TejeshR13 , no, it just compares the Button renderings only, nothing else. `bimage = robot.createScreenCapture(new Rectangle(buttonLoc.x, buttonLoc.y, button.getWidth(), button.getHeight()));`
>
> Which is exactly in the image right?
Yes, your images contain the Windows taskbar also, but I'm not sure why it is taking that also when we capture the screen based on button's dimensions, could it be because of button.getWidth() and button.getHeight() returning wrong values?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/20532#issuecomment-2296145654
More information about the client-libs-dev
mailing list