On Wed, 16 Mar 2022 07:42:00 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> 
wrote:

>> Just thinking,  Do we need to manipulate hue and saturation for focus ring?
>> It seems from native "Numbers" app which is closest to Tables & cells, I see 
>> the focus ring is always blue irrespective of what the selection background 
>> (and system accent color) is
>> and since Aqua should mimic native look, so I guess just this change will 
>> probably do
>>  ```
>> - Table.focusCellHighlightBorder", focusCellHighlightBorder,
>>  + Table.focusCellHighlightBorder", new 
>> BorderUIResouce.LineBorderUIResouce(Color.blue), 2),
>
> <img width="1273" alt="Screenshot 2022-03-16 at 1 04 56 PM" 
> src="https://user-images.githubusercontent.com/43534309/158540377-e97cc3c7-64e9-487d-948d-bc1941d5af28.png";>

Probably to get an identical focus ring, we need to use
[NSSetFocusRingStyle](https://developer.apple.com/documentation/appkit/1473702-nssetfocusringstyle?language=objc)

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

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

Reply via email to