RFR: 8311031: JTable header border vertical lines are not aligned with data grid lines [v2]

Tejesh R tr at openjdk.org
Tue Jul 4 11:53:33 UTC 2023


On Tue, 4 Jul 2023 11:39:01 GMT, Tejesh R <tr at openjdk.org> wrote:

>> test/jdk/javax/swing/JTableHeader/TableHeaderBorderPositionTest.java line 1:
>> 
>>> 1: /*
>> 
>> Is it possible to make an automated test by comparing pixel colors of images before and after fix?
>
> Tried to check the line alignment, but couldn't do it because of anti aliasing and scaling. And before and after fix means storing the image of before fix and then comparing with after fix?

Still I feel that would be blind comparison, since we won't be able to exactly test the fix.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14766#discussion_r1251917815



More information about the client-libs-dev mailing list