src/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java

Print this page

        

*** 473,483 **** --- 473,485 ---- if (peer == null || isMaximized()) { return; } if (!undecorated) { zoomed = true; + if(!CWrapper.NSWindow.isZoomed(getNSWindowPtr())){ CWrapper.NSWindow.zoom(getNSWindowPtr()); + } } else { deliverZoom(true); this.normalBounds = peer.getBounds();