--- old/src/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java 2013-02-08 15:20:13.602354500 +0400 +++ new/src/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java 2013-02-08 15:20:12.897314100 +0400 @@ -45,7 +45,7 @@ import com.apple.laf.ClientPropertyApplicator.Property; import com.sun.awt.AWTUtilities; -public final class CPlatformWindow extends CFRetainedResource implements PlatformWindow { +public class CPlatformWindow extends CFRetainedResource implements PlatformWindow { private native long nativeCreateNSWindow(long nsViewPtr, long styleBits, double x, double y, double w, double h); private static native void nativeSetNSWindowStyleBits(long nsWindowPtr, int mask, int data); private static native void nativeSetNSWindowMenuBar(long nsWindowPtr, long menuBarPtr); @@ -198,10 +198,10 @@ private Rectangle nativeBounds = new Rectangle(0, 0, 0, 0); private volatile boolean isFullScreenMode = false; - private Window target; - private LWWindowPeer peer; - private CPlatformView contentView; - private CPlatformWindow owner; + protected Window target; + protected LWWindowPeer peer; + protected CPlatformView contentView; + protected CPlatformWindow owner; private boolean visible = false; // visibility status from native perspective private boolean undecorated; // initialized in getInitialStyleBits() private Rectangle normalBounds = null; // not-null only for undecorated maximized windows