On Wed, 26 Jan 2022 00:12:17 GMT, Harshitha Onkar <d...@openjdk.java.net> wrote:

> Previously, the JTableHeader Bottom line wasn't visible on MacOS LAF (Aqua). 
> With the fix the bottom line (light grey) is visible. 
> 
> Changes were made to AquaTableHeaderBorder.paintBorder method and the height 
> of the component+border was adjusted in paint method.
> 
> A new test case (JTHeaderBorderTest.java) was added to test the fix as there 
> was no corresponding test case present for this issue previously. The test 
> checks if the border is visible by checking the color at the border location 
> with the background color of the table and table-header, if both are 
> different test case passes and it fails if the pixel color at border location 
> matches either the table-header or table background color.

This pull request has now been integrated.

Changeset: f33329eb
Author:    Harshitha Onkar <harshitha.on...@oracle.com>
Committer: Prasanta Sadhukhan <psadhuk...@openjdk.org>
URL:       
https://git.openjdk.java.net/jdk/commit/f33329eb7f7a1a541d8f30ba8952b0b922ac5257
Stats:     125 lines in 2 files changed: 123 ins; 0 del; 2 mod

8016524: [macosx] Bottom line is not visible for JTableHeader

Reviewed-by: psadhukhan, prr

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

PR: https://git.openjdk.java.net/jdk/pull/7219

Reply via email to