Thank you for your reply.
I've just created an issue - Add Stage.setMaximizable(boolean) API for
decorated and extended stages in JavaFX
Best regards, Pavel
On 5/7/26 09:01, Michael Strauß wrote:
You're not receiving a mouse event on the HeaderBar because when the
area under the cursor is classified as draggable, we can't send the
event to the application; it is consumed by the window manager.
There's no API to disable the double-click to maximize behavior for an
extended stage, much in the same way as there's no API to do that for
a decorated stage. Since an extended stage is just a decorated stage
with a customizable title bar, any solution to toggle the double-click
to maximize behavior should apply to both stage styles.
Maybe we can have an API like Stage.setMaximizable(boolean) to toggle
the maximizable capability (this would be different from the existing
Stage.setMaximized(boolean), which toggles a state, not a capability).
We should discuss this feature request in terms of both decorated and
extended stage styles.