RFR: JDK-8016524: [macosx] Bottom line is not visible for JTableHeader
Harshitha Onkar
duke at openjdk.java.net
Thu Jan 27 00:40:49 UTC 2022
On Wed, 26 Jan 2022 20:29:47 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
>> A new test case was added to test the fix as there was no corresponding test case present for this issue previously.
>
> src/java.desktop/macosx/classes/com/apple/laf/AquaTableHeaderBorder.java line 2:
>
>> 1: /*
>> 2: * Copyright (c) 2011, 2014, 2022, Oracle and/or its affiliates. All rights reserved.
>
> The first date is the date when the file was created, the second date is a date when it was updated last time. So you do not need to add a new one, just update the second.
Updated the year
> test/jdk/javax/swing/JTableHeader/8016524/Bug8016524.java line 74:
>
>> 72:
>> 73: // get JTableHeader coordinate position on screen (x,y)
>> 74: Point point = table.getTableHeader().getLocationOnScreen();
>
> The table is a Swing component it should be accessed on the EDT. (the same comment for the header below)
Updated - table and header accessed only on EDT
> test/jdk/javax/swing/JTableHeader/8016524/Bug8016524.java line 101:
>
>> 99: }
>> 100: }
>> 101: }
>
> The frame should be disposed at the end of the test.
frame disposed
-------------
PR: https://git.openjdk.java.net/jdk/pull/7219
More information about the client-libs-dev
mailing list