On Fri, 8 Apr 2022 07:55:57 GMT, Prasanta Sadhukhan <psadhuk...@openjdk.org> wrote:
>> @prrace @prsadhuk >> The issue with the system color returned by **keyboardFocusIndicatorColor** >> mentioned above, persists on macOS 12.3 as well. > > "accentColor" is swift property so not usable for jdk but you can use > "controlAccentColor" which seems to work with 10.15 and 12.1 as per my > limited testing. > You need to use @available check though.. > Even though it may not work for version lesser than 10.14, I guess it's ok as > those versions are more or less obsolete and we will not be worse off than > where we are now... > While you are at it, please consider renaming this function as told. @prsadhuk Thank you for the suggestion. I will add in the required changes , test it and update the PR. ------------- PR: https://git.openjdk.java.net/jdk/pull/7768