1 |
|
2005-11-10 Anthony Balkissoon <abalkiss@redhat.com> |
2 |
|
|
3 |
|
* javax/swing/JComponent.java: |
4 |
|
(processKeyEvent): Reworked this method to improve performance. Return |
5 |
|
early if the event has already been handled. Don't stop climbing when |
6 |
|
we hit a JInternalFrame, only stop at Applets or Windows (this fixes |
7 |
|
PR 24781). Don't check WHEN_IN_FOCUSED_WINDOW bindings if there is no |
8 |
|
top-level container present. If there is a top-level container, pass |
9 |
|
it to KeyboardManager.processKeyStroke rather than the JComponent that |
10 |
|
actually received the event, to save time in finding the top-level |
11 |
|
container within KeyboardManager. |
12 |
|
* javax/swing/KeyboardManager.java: |
13 |
|
(findTopLevel): Changed parameter from JComponent to Component to allow |
14 |
|
generality and to allow passing in of already-determined top-level |
15 |
|
containers to save time. |
16 |
|
(processKeyStroke): Likewise. |
17 |
|
|
18 |
2005-10-10 Mark Wielaard <mark@klomp.org> |
2005-10-10 Mark Wielaard <mark@klomp.org> |
19 |
|
|
20 |
Fixes bug #24731 reported by freebeans@xqb.biglobe.ne.jp. |
Fixes bug #24731 reported by freebeans@xqb.biglobe.ne.jp. |