src/share/classes/java/awt/peer/WindowPeer.java

Print this page

        

@@ -118,6 +118,18 @@
 
     /**
      * Instructs the peer to update the position of the security warning.
      */
     void repositionSecurityWarning();
+    
+    /**
+     * Grabs focus.
+     */
+    void grabFocus();
+    
+    /**
+     * Ungrabs focus.
+     * 
+     * @param postEvent posts {@code UngrabEvent} when {@code true}
+     */
+    void ungrabFocus(boolean postEvent);
 }