On Wed, 6 Dec 2023 21:31:36 GMT, Michael Strauß <mstra...@openjdk.org> wrote:

>> Please read [this 
>> document](https://gist.github.com/mstr2/9f46f92c98d3c86aa6a0b4224a9a6548) 
>> for an introduction to the Platform Preferences API, and how it interacts 
>> with the proposed style theme and stage appearance features.
>
> Michael Strauß has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   fixed bug in test application

The value does indeed change:
macOS.NSColor.alternatingContentBackgroundColors = [0x1e1e1eff,0xffffff0c]
macOS.NSColor.alternatingContentBackgroundColors = [0xffffffff,0xf4f5f5ff]


    private String f(Object x) {
        if (x == null) {
            return "<null>";
        }
        if (x.getClass().isArray()) {
            int sz = Array.getLength(x);
            StringBuilder sb = new StringBuilder();
            sb.append("[");
            for (int i = 0; i < sz; i++) {
                if (i > 0) {
                    sb.append(',');
                }
                sb.append(Array.get(x, i));
            }
            sb.append("]");
            return sb.toString();
        }
        return x.toString();
    }

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

PR Comment: https://git.openjdk.org/jfx/pull/1014#issuecomment-1843744109

Reply via email to