JDK-8143914 : Provide Mac-specific fullscreen support
  • Type: Bug
  • Component: client-libs
  • Affected Version: 9
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2015-11-24
  • Updated: 2019-07-26
  • Resolved: 2016-11-03
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b147Fixed
Related Reports
Relates :  
Relates :  
Description
On the latest OSX fullscreen functionality was merged with maximize button.
So probably it will be better to change behavior of setExtendedState() + MAXIMIZED_BOTH to support native fullscreen.
Comments
This can be achieved by a simple call on a JFrame frame.getRootPane().putClientProperty(CPlatformWindow.WINDOW_FULLSCREENABLE, true); So this will not require any public API changes. Consider enabling it by default on 10.10+.
21-04-2016