[gui][PATCH] window focus fixes
Thomas Fitzsimmons
fitzsim@redhat.com
Sun Jul 11 03:10:00 GMT 2004
Hi,
I checked this in on java-gui-branch. When a window loses then regains
the top-level focus, the same child component that had the keyboard
focus before the top-level focus change should regain the focus.
Tom
2004-07-10 Thomas Fitzsimmons <fitzsim@redhat.com>
* java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
Set window's focus owner upon receiving a FOCUS_LOST event.
* java/awt/Window.java (Window()): Refocus the previously
focused component within the window when the window regains the
top-level focus.
(setFocusOwner): New method.
* java/awt/Component.java (requestFocus): Add FIXME.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: window-focus-out.patch
Type: text/x-patch
Size: 5093 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040711/ad925db7/attachment.bin>
More information about the Java-patches
mailing list