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

Print this page

        

*** 52,70 **** public CPlatformView() { super(0, true); } public void initialize(LWWindowPeer peer, CPlatformResponder responder) { ! this.peer = peer; ! this.responder = responder; if (!LWCToolkit.getSunAwtDisableCALayers()) { this.windowLayer = new CGLLayer(peer); } setPtr(nativeCreateView(0, 0, 0, 0, getWindowLayerPtr())); } public long getAWTView() { return ptr; } public boolean isOpaque() { --- 52,74 ---- public CPlatformView() { super(0, true); } public void initialize(LWWindowPeer peer, CPlatformResponder responder) { ! initializeBase(peer, responder); if (!LWCToolkit.getSunAwtDisableCALayers()) { this.windowLayer = new CGLLayer(peer); } setPtr(nativeCreateView(0, 0, 0, 0, getWindowLayerPtr())); } + protected void initializeBase(LWWindowPeer peer, CPlatformResponder responder) { + this.peer = peer; + this.responder = responder; + } + public long getAWTView() { return ptr; } public boolean isOpaque() {