On Wed, 8 Jun 2022 11:11:44 GMT, Tejesh R <t...@openjdk.org> wrote:

>> _Header_ object not initialized/set when paint() method of 
>> `WindowTableHeaderUI` class is executed. The paint() event is executed 
>> through explicit call of `JTable.updateUI()` in the regression test. In 
>> order to set the _header_ to the _called_ JTable, it is set in the 
>> `getTableCellRendererComponent()` method, which in turn makes the _header_ 
>> object available during paint event without causing NPE.
>
> Tejesh R has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Updated based on review comments

Looks good now.

Please update the copyright year WindowsTableHeaderUI and optionally organise 
imports.

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

Changes requested by aivanov (Reviewer).

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

Reply via email to