RFR: 8301302: Platform preferences API [v46]
Michael Strauß
mstrauss at openjdk.org
Thu Dec 7 17:38:22 UTC 2023
On Thu, 7 Dec 2023 08:04:45 GMT, Nir Lisker <nlisker at openjdk.org> wrote:
>> Michael Strauß has updated the pull request incrementally with one additional commit since the last revision:
>>
>> renamed Windows.SPI.HighContrastOn to Windows.SPI.HighContrast
>
> modules/javafx.graphics/src/main/java/javafx/application/Platform.java line 589:
>
>> 587: * The color used for background regions.
>> 588: * <p>
>> 589: * If the platform does not report a background color, this property defaults to {@code Color.WHITE}.
>
> Is there value in writing this sentence on every property if they specify the `@defaultValue`?
It might make it a bit more clear that this is the default value even on platforms that don't even have this preference.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1014#discussion_r1419344928
More information about the openjfx-dev
mailing list