src/windows/classes/sun/java2d/ScreenUpdateManager.java

Print this page

        

*** 109,119 **** */ public SurfaceData getReplacementScreenSurface(WComponentPeer peer, SurfaceData oldsd) { SurfaceData surfaceData = peer.getSurfaceData(); ! if (surfaceData.isValid()) { return surfaceData; } peer.replaceSurfaceData(); return peer.getSurfaceData(); } --- 109,119 ---- */ public SurfaceData getReplacementScreenSurface(WComponentPeer peer, SurfaceData oldsd) { SurfaceData surfaceData = peer.getSurfaceData(); ! if (surfaceData == null || surfaceData.isValid()) { return surfaceData; } peer.replaceSurfaceData(); return peer.getSurfaceData(); }