On Thu, 17 Mar 2022 17:56:03 GMT, Harshitha Onkar <d...@openjdk.java.net> wrote:
>> @prsadhuk Thank you for suggesting possible alternatives. > > There are two different approaches that we can take at this point. > > 1. Do we go forward with the present changes? (hue and saturation offset, > brightness set to 100%) > 2. Keep a common cell focus ring color - Blue as observed in few native apps > (Numbers App). In this scenario we keep the cell focus ring color set to blue > when selection background color is NOT blue and return a different color when > selection background is Blue. > > Trying to find the best solution that takes into account native L&F and > present Aqua L&F implementations. > Probably to get an identical focus ring, we need to use > [NSSetFocusRingStyle](https://developer.apple.com/documentation/appkit/1473702-nssetfocusringstyle?language=objc) This is more about placement of the focus ring (and available only from macOS 10.1+ versions) and would require native code changes. Might not be an ideal solution in this context. ------------- PR: https://git.openjdk.java.net/jdk/pull/7768