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

Print this page

        

*** 32,41 **** --- 32,49 ---- * The native peer interface for {@link KeyboardFocusManager}. */ public interface KeyboardFocusManagerPeer { /** + * Sets the window that should become the focused window. + * + * @param win the window that should become the focused window + * + */ + void setCurrentFocusedWindow(Window win); + + /** * Returns the currently focused window. * * @return the currently focused window * * @see KeyboardFocusManager#getNativeFocusedWindow()