CVSROOT: /cvsroot/classpath
Module name: classpath
Changes by: Roman Kennke <rabbit78> 06/07/25 13:21:04
Modified files:
. : ChangeLog
java/awt : Container.java
ContainerOrderFocusTraversalPolicy.java
DefaultKeyboardFocusManager.java
Log message:
2006-07-25 Roman Kennke <[EMAIL PROTECTED]>
* java/awt/Container.java
(focusTraversalPolicyProvider): New field.
(isFocusTraversalPolicyProvider): New method.
(setFocusTraversalPolicyProvider): New method.
* java/awt/ContainerOrderFocusTraversalPolicy.java
(getFirstComponent): Use accept() instead of lengthy checks.
Don't fetch getComponents() to avoid copying of array.
Traverse down the hierarchy to find the first focused component.
* java/awt/DefaultKeyboardFocusManager.java
(dispatchEvent): Let the initial component request focus.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8206&r2=1.8207
http://cvs.savannah.gnu.org/viewcvs/classpath/java/awt/Container.java?cvsroot=classpath&r1=1.100&r2=1.101
http://cvs.savannah.gnu.org/viewcvs/classpath/java/awt/ContainerOrderFocusTraversalPolicy.java?cvsroot=classpath&r1=1.9&r2=1.10
http://cvs.savannah.gnu.org/viewcvs/classpath/java/awt/DefaultKeyboardFocusManager.java?cvsroot=classpath&r1=1.18&r2=1.19