CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Roman Kennke <[EMAIL PROTECTED]> 05/06/29 09:28:42
Modified files:
. : ChangeLog
javax/swing : BoxLayout.java
gnu/java/awt : AWTUtilities.java
Log message:
2005-06-29 Roman Kennke <[EMAIL PROTECTED]>
* gnu/java/awt/AWTUtilities.java
(VisibleComponentList): Added List implementation that iterates over
the child components of a Container and only returns Components
that are actually visible.
(getVisibleChildren): Now returns a List instead of an array. This
list is cached. This greatly decreases allocations in
LayoutManagers.
* javax/swing/BoxLayout.java:
Updated to use the new AWTUtilities.getVisibleChildren() method.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.3933&tr2=1.3934&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/BoxLayout.java.diff?tr1=1.13&tr2=1.14&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/gnu/java/awt/AWTUtilities.java.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
_______________________________________________
Commit-classpath mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-classpath