CVSROOT: /cvsroot/classpath
Module name: classpath
Branch:
Changes by: Roman Kennke <[EMAIL PROTECTED]> 06/02/16 10:56:30
Modified files:
. : ChangeLog
javax/swing : JComponent.java
Log message:
2006-02-16 Roman Kennke <[EMAIL PROTECTED]>
* javax/swing/JComponent.java
(rectCache): Made field non-static to avoid nasty interferences.
(computeVisibleRect): Avoid creation of new Rectangles and double
calculations on ints by using Swing.computeIntersection() instead
of Rectangle2D.intersect().
(repaint): Interect the dirty region with the visible rectangle
of this component to avoid unnecessary painting.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.6415&tr2=1.6416&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/JComponent.java.diff?tr1=1.103&tr2=1.104&r1=text&r2=text