< prev index next >

src/java.desktop/macosx/classes/sun/lwawt/macosx/CPlatformLWWindow.java

Print this page

        

@@ -35,11 +35,10 @@
 import java.awt.Point;
 import java.awt.Rectangle;
 import java.awt.Window;
 import sun.awt.CGraphicsDevice;
 import sun.awt.CGraphicsEnvironment;
-import sun.awt.CausedFocusEvent;
 import sun.awt.LightweightFrame;
 import sun.java2d.SurfaceData;
 import sun.lwawt.LWLightweightFramePeer;
 import sun.lwawt.LWWindowPeer;
 import sun.lwawt.PlatformWindow;

@@ -132,11 +131,11 @@
     @Override
     public void setSizeConstraints(int minW, int minH, int maxW, int maxH) {
     }
 
     @Override
-    public boolean rejectFocusRequest(CausedFocusEvent.Cause cause) {
+    public boolean rejectFocusRequest(FocusEvent.Cause cause) {
         return false;
     }
 
     @Override
     public boolean requestWindowFocus() {
< prev index next >