RFR: 8301302: Platform preferences API [v44]
satsen
duke at openjdk.org
Thu Dec 21 09:43:34 UTC 2023
On Thu, 7 Dec 2023 21:30:27 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:
>> 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();
>> }
>
> Thanks to all the people who were involved in developing this feature and helping to bring this across the finish line, especially @andy-goryachev-oracle @kevinrushforth @hjohn @nlisker and @jperedadnr 👍
Thank you for your work @mstr2. It's nice to see something new and shiny added to JavaFX. I'm looking forward for your other PRs to get integrated as well, I really like your work. Thanks.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1014#issuecomment-1865947867
More information about the openjfx-dev
mailing list