RFR: 8341514: Add reducedMotion and reducedTransparency preferences [v3]

Andy Goryachev angorya at openjdk.org
Tue Oct 8 22:44:02 UTC 2024


On Tue, 8 Oct 2024 22:19:11 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> modules/javafx.graphics/src/main/java/javafx/application/Platform.java line 586:
>> 
>>> 584:      * @since 22
>>> 585:      */
>>> 586:     public sealed interface Preferences extends ObservableMap<String, Object>
>> 
>> is there any way we can convert this to a regular class here, so it can be inspected?
>> 
>> what's the point of declaring an interface just to allow for one possible implementation?
>
> No, that would be a mistake. And it's unnecessary.

please ignore.  Using reflection and/or BeanInfo on Platform.Properties.class worked.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1592#discussion_r1792587137


More information about the openjfx-dev mailing list