src/windows/classes/sun/awt/windows/WFramePeer.java

Print this page

        

@@ -198,6 +198,13 @@
         setBounds(x, y, width, height, SET_BOUNDS);
     }
     public Rectangle getBoundsPrivate() {
         return getBounds();
     }
+
+    // TODO: implement it in peers. WLightweightFramePeer may implement lw version.
+    public void emulateActivation(boolean activate) {
+        synthesizeWmActivate(activate);
+    }
+    
+    private native void synthesizeWmActivate(boolean activate);
 }