-
CSR
-
Resolution: Approved
-
P3
-
behavioral
-
minimal
-
Minimal risk as these are client properties never before used and their names are apple and AWT specific.
-
Other
-
JDK
Summary
Two new client properties are recognized by the AWT on macOS. Same change as original fix made in JDK 12 (JDK-8212549).
Problem
The goal is to support two window-related features of the macOS platform.
Solution
Extend the macOS AWT to recognize two new client properties on the root panes of windows.
Specification
The new properties follow the format of some existing properties:
"apple.awt.fullWindowContent"
"apple.awt.transparentTitleBar"
See CPlatformWindow.java for a complete list.
Note that none of these properties are documented as they are not associated with a public class or interface.
These client properties correspond to boolean attributes of native windows. The client property is transferred directly to the native window. Full window content means the content view occupies the full window, including the space under the native title bar (whose background is normally translucent). In Swing, the content view is the root pane. When full window content is enabled, the default window insets are removed and the root pane is expanded to the full window size. Transparent title bar causes the title bar to avoid painting any background. The attached screen shot shows an example.
- csr of
-
JDK-8242256 [macos] support full window content options
-
- Resolved
-