RFR: JDK-8016524: [macosx] Bottom line is not visible for JTableHeader [v3]

Harshitha Onkar duke at openjdk.java.net
Mon Jan 31 06:30:12 UTC 2022


On Thu, 27 Jan 2022 09:31:21 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> Harshitha Onkar has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   aligned the jtreg header
>
> test/jdk/javax/swing/JTableHeader/8016524/Bug8016524.java line 106:
> 
>> 104:         if(lowerLeft.getRGB() == WHITE_RGB || lowerRight.getRGB() == WHITE_RGB)
>> 105:         {
>> 106:             throw new RuntimeException("JTableHeader Bottom Border not visible");
> 
> Not sure this check is correct. If we have dark theme or the background is changed in system, then I guess the test will fail even with fix. Maybe you can set the JTable background to white explicitly.

@prsadhuk I have explicitly set the background to white for the table as well as the header.

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

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



More information about the client-libs-dev mailing list