<AWT Dev> [JDK-8048731] com.apple.eawt.FullScreenUtilities#setWindowCanFullScreen

Reto Merz reto.merz at abacus.ch
Thu Mar 2 16:07:08 UTC 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20170302/b072eb7f/attachment.html>


More information about the awt-dev mailing list