RFR: 8311031: JTable header border vertical lines are not aligned with data grid lines [v11]
Alexey Ivanov
aivanov at openjdk.org
Tue Aug 1 10:40:59 UTC 2023
On Tue, 1 Aug 2023 05:27:10 GMT, Tejesh R <tr at openjdk.org> wrote:
>> The header border uses `g.drawLine` whereas the JTable data grid lines uses `SwingUtilities2.drawVLine` and `SwingUtilities2.drawHLine` to draw horizontal and vertical lines. The SwingUtilities2 uses `Graphics.fillRect` which contributes to the difference between the position of these two lines which happens/visible at higher ui scaling (difference in alignment between vertical lines of these two). The fix propose to use the same methods for metal L&F of JTable header border paint.
>> CI testing shows green.
>>
>> 
>
> Tejesh R has updated the pull request incrementally with one additional commit since the last revision:
>
> Review fix
Looks good now.
-------------
Marked as reviewed by aivanov (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/14766#pullrequestreview-1556690896
More information about the client-libs-dev
mailing list