RFR: 8313424: JavaFX controls in the title bar [v45]

Andy Goryachev angorya at openjdk.org
Mon Feb 3 23:46:20 UTC 2025


On Mon, 3 Feb 2025 14:33:43 GMT, Michael Strauß <mstrauss at openjdk.org> wrote:

>> Implementation of [`EXTENDED`](https://gist.github.com/mstr2/0befc541ee7297b6db2865cc5e4dbd09) and `EXTENDED_UTILITY` stage style.
>
> Michael Strauß has updated the pull request incrementally with one additional commit since the last revision:
> 
>   macOS bugfixes, default button behavior

modules/javafx.graphics/src/main/java/com/sun/javafx/scene/layout/HeaderButtonBehavior.java line 88:

> 86:                         stage.setMaximized(!stage.isMaximized());
> 87:                     }
> 88:                 });

I think it might be better to add a default case here, _in case this enum evolves_.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1605#discussion_r1940277610


More information about the openjfx-dev mailing list