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

Semyon Sadetsky semyon.sadetsky at oracle.com
Fri Sep 30 14:12:58 UTC 2016


The fix looks good.

Do you know why JDialog maximize button doesn't work? When I click on it 
the maximize button the dialog disappears.

--Semyon


On 9/6/2016 5:32 PM, Alexander Zvegintsev wrote:
> Hello,
>
> please review the fix
>
> http://cr.openjdk.java.net/~azvegint/jdk/9/8143914/00/
>
> for the issue
>
> https://bugs.openjdk.java.net/browse/JDK-8143914
>
>
> 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