RFR: 5108458: JTable does not properly layout its content [v5]
Tejesh R
tr at openjdk.org
Tue Nov 21 06:51:12 UTC 2023
On Mon, 20 Nov 2023 16:11:53 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
>> Tejesh R has updated the pull request incrementally with one additional commit since the last revision:
>>
>> Review fix
>
> test/jdk/javax/swing/JTable/JTableRightAlignmentTest.java line 93:
>
>> 91: .getColumn(2)
>> 92: .getWidth() - 1;
>> 93: Color expectedRGB = robot.getPixelColor(xPos, yPos);
>
> I suggest capturing the screen rectangle and then sample the colours of the captured buffered image, or alternatively even paint into a buffered image.
Any particular reason for this suggestion ?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/16374#discussion_r1400095288
More information about the client-libs-dev
mailing list