CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Lillian Angel <[EMAIL PROTECTED]> 06/05/11 20:31:13
Modified files:
. : ChangeLog
java/awt : ContainerOrderFocusTraversalPolicy.java
Log message:
2006-05-11 Lillian Angel <[EMAIL PROTECTED]>
* java/awt/ContainerOrderFocusTraversalPolicy.java
(getComponentAfter): Should not throw exception if
the ancestor is null. Added a check for this.
Also, changed to use new helper function, we should
iterate through all the components at least once.
(getNextAvailableComponent): New helper function.
(getPrevAvailableComponent): New helper function.
(getComponentBefore): Should not throw exception if
the ancestor is null. Added a check for this.
Also, changed to use new helper function, we should
iterate through all the components at least once.
(getFirstComponent): Changed check to manually check
fields. Calling accept() casts the object to a Component,
so different values may be returned.
(getLastComponent): Likewise.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.7376&tr2=1.7377&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/java/awt/ContainerOrderFocusTraversalPolicy.java.diff?tr1=1.8&tr2=1.9&r1=text&r2=text