It is true that a window with the UNDECORATED style will maximize to
fill the entire screen.
A window with the UNDECORATED_INTERACTIVE style is actually a regular
window where the client area has been extended to include the
non-client areas as well.
As a consequence of this, the window behaves
2. From an implementation perspective, this doesn't need to be
supported explicitly by a platform.
For the move and resize behaviors, it uses existing
com.sun.glass.ui.Window APIs like setSize and setPosition.
I would imagine that these operations are no-ops for platforms that do
not support
We would be very interested in this. We've tried to implement some of these
native behaviours ourselves, but there are plenty of holes and we only
support Windows. There are also some bugs which could potentially be
addressed by this, for example
https://bugs.openjdk.java.net/browse/JDK-810.
This looks interesting and useful. I'd like to hear from other
developers as well.
A few comments:
1. We might want to consider whether there is a better name (nothing
comes to mind at the moment)
2. This will almost certainly need to be a ConditionalFeature (since it
might not be
I propose to add StageStyle.UNDECORATED_INTERACTIVE as outlined in
this PR: https://github.com/openjdk/jfx/pull/594
The purpose of this style is to allow developers to provide custom
window decorations, but retain the window behaviors that would be lost
when using StageStyle.UNDECORATED.
I'm