> 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 comment fix ------------- Changes: - all: https://git.openjdk.org/jdk/pull/14766/files - new: https://git.openjdk.org/jdk/pull/14766/files/a3c5da4b..0f2557fb Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=14766&range=04 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14766&range=03-04 Stats: 9 lines in 1 file changed: 0 ins; 0 del; 9 mod Patch: https://git.openjdk.org/jdk/pull/14766.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/14766/head:pull/14766 PR: https://git.openjdk.org/jdk/pull/14766