On Fri, 18 Dec 2020 22:14:48 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:

>>>It does not cached it is a mutable SystemColor which is updated on the color 
>>>theme switch,
>>> it works in a similar way as text selection color which might be configured 
>>> in the macOS settings.
>> 
>> Looked in the code as if it was cached by us. But if not even better, right ?
>
>> > It does not cached it is a mutable SystemColor which is updated on the 
>> > color theme switch,
>> > it works in a similar way as text selection color which might be 
>> > configured in the macOS settings.
>> 
>> Looked in the code as if it was cached by us. But if not even better, right ?
> 
> This is the place where the problem is sitting, we still do not know how to 
> get the correct color from the cocoa library in the native code. Do not know 
> Prasanta tried to get the font color from the tab-pane stub in the native 
> code or not.

So why would this API return the wrong colour ?
Sounds like we need to re-cap the alternatives and the pros and cons along with 
some explanation
And do it before opening the 16 PR.

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

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

Reply via email to