JDK-8212549 : [macos] support full window content options
  • Type: CSR
  • Component: client-libs
  • Sub-Component: java.awt
  • Priority: P3
  • Status: Closed
  • Resolution: Approved
  • Fix Versions: 12
  • Submitted: 2018-10-16
  • Updated: 2018-11-08
  • Resolved: 2018-11-08
Related Reports
CSR :  
Description
Summary
-------

Two new client properties are recognized by the AWT on macOS.

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.




Comments
Moving to Approved.
08-11-2018

Relaying comment from [~alans]: 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.
07-11-2018

Pending until the requested information is provided.
06-11-2018

Please describe the semantics of the properties in more detail.
02-11-2018