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

Print this page

        

*** 23,33 **** * questions. */ package sun.lwawt.macosx; - import java.awt.BufferCapabilities.FlipContents; import java.awt.*; import java.awt.Dialog.ModalityType; import java.awt.event.*; import java.awt.peer.WindowPeer; import java.beans.*; --- 23,32 ----
*** 400,430 **** nativeSetNSWindowMenuBar(nsWindowPtr, 0); } } @Override // PlatformWindow - public Image createBackBuffer() { - return contentView.createBackBuffer(); - } - - @Override // PlatformWindow public void dispose() { if (owner != null) { CWrapper.NSWindow.removeChildWindow(owner.getNSWindowPtr(), getNSWindowPtr()); } contentView.dispose(); nativeDispose(getNSWindowPtr()); CPlatformWindow.super.dispose(); } @Override // PlatformWindow - public void flip(int x1, int y1, int x2, int y2, FlipContents flipAction) { - // TODO: not implemented - (new RuntimeException("unimplemented")).printStackTrace(); - } - - @Override // PlatformWindow public FontMetrics getFontMetrics(Font f) { // TODO: not implemented (new RuntimeException("unimplemented")).printStackTrace(); return null; } --- 399,418 ----