CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Roman Kennke <[EMAIL PROTECTED]> 05/08/05 15:26:08
Modified files:
. : ChangeLog
java/awt : Container.java Component.java
Log message:
2005-08-05 Roman Kennke <[EMAIL PROTECTED]>
* java/awt/Container.java:
(preferredSize): Call getLayout() instead of directly referencing
the private field. This makes components work that override
getLayout().
(minimumSize): Call getLayout() instead of directly referencing
the private field. This makes components work that override
getLayout(). Use cached size if component is still valid.
(maximumSize): Call getLayout() instead of directly referencing
the private field. This makes components work that override
getLayout(). Use cached size if component is still valid.
(update): If we are a top-level-container, call super.update(),
otherwise directly call paint().
(visitChildren): Also visit children that are itself Containers.
* java/awt/Component.java
(update): Clear the background only for lightweight and top-level
components.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.4340&tr2=1.4341&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/java/awt/Container.java.diff?tr1=1.56&tr2=1.57&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/java/awt/Component.java.diff?tr1=1.68&tr2=1.69&r1=text&r2=text
_______________________________________________
Commit-classpath mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-classpath