<AWT Dev> [9] Review request for 8143914: Provide Mac-specific fullscreen support

Alexander Zvegintsev alexander.zvegintsev at oracle.com
Tue Sep 6 14:32:54 UTC 2016


please review the fix


for the issue


This fix adds the green FullScreen button to a resizable frames by default.

Previous maximize behavior is still accessible by holding Alt while 
clicking on the green button.

setResizable is fixed because of two reasons:

Window will not be able to leave fullscreen if we remove resizable from 
style bits(and even if we set it again)

Window will not have the green button(maximize/zoom or fullscreen) if 
the window was initially not resizable.


More information about the awt-dev mailing list