Re: [JDK-8048731] com.apple.eawt.FullScreenUtilities#setWindowCanFullScreen

2017-03-02 Thread Reto Merz
Hello Alexander,
 
Thanks for clarifying that.
 
Regards
Reto
 
 
On 02.03.2017 16:26, Alexander Zvegintsev wrote:
Hello,
there is no replacement for setWindowCanFullScreen(), resizable windows are 
made fullscreenable by default(JDK-8143914).
However there is unofficial way to override it:
jFrame.getRootPane().putClientProperty("apple.awt.fullscreenable", false);
Thanks,Alexander.
On 02/03/2017 14:01, Reto Merz wrote:
Hi, Is there a replacement for 
com.apple.eawt.FullScreenUtilities#setWindowCanFullScreen(Window, Boolean) in 
Java 9 Desktop API? I can not find a similar method on java.awt.Desktop, 
java.awt.Taskbar or javax.swing.JFrame class. ThanksReto

Re: [JDK-8048731] com.apple.eawt.FullScreenUtilities#setWindowCanFullScreen

2017-03-02 Thread Alexander Zvegintsev

Hello,

there is no replacement for setWindowCanFullScreen(), resizable windows 
are made fullscreenable by default(JDK-8143914 
).


However there is unofficial way to override it:

jFrame.getRootPane().putClientProperty("apple.awt.fullscreenable", false);

Thanks,
Alexander.

On 02/03/2017 14:01, Reto Merz wrote:

Hi,

Is there a replacement for 
com.apple.eawt.FullScreenUtilities#setWindowCanFullScreen(Window, Boolean) in 
Java 9 Desktop API?

I can not find a similar method on java.awt.Desktop, java.awt.Taskbar or 
javax.swing.JFrame class.

Thanks
Reto






[JDK-8048731] com.apple.eawt.FullScreenUtilities#setWindowCanFullScreen

2017-03-02 Thread Reto Merz
Hi,

Is there a replacement for 
com.apple.eawt.FullScreenUtilities#setWindowCanFullScreen(Window, Boolean) in 
Java 9 Desktop API?

I can not find a similar method on java.awt.Desktop, java.awt.Taskbar or 
javax.swing.JFrame class.

Thanks
Reto