RFR: 8301302: Platform preferences API [v26]
Michael Strauß
mstrauss at openjdk.org
Sat Nov 18 05:54:07 UTC 2023
On Sat, 18 Nov 2023 05:50:35 GMT, Michael Strauß <mstrauss at 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:
>
> Remove Preferences.getPaint
I've removed `Preferences.getPaint(String)` because I can't see this particular typed getter being useful in the foreseeable future. No platform reports non-`Color` paints, and I don't expect this to change. Even if it did, we have the `Preferences.getValue(String, Class)` getter to retrieve exotic values.
-------------
PR Comment: https://git.openjdk.org/jfx/pull/1014#issuecomment-1817404685
More information about the openjfx-dev
mailing list