CVSROOT:        /cvsroot/classpath
Module name:    classpath
Changes by:     Roman Kennke <rabbit78> 06/07/27 14:29:29

Modified files:
        java/awt       : Component.java Container.java 
        .              : ChangeLog 

Log message:
        2006-07-27  Roman Kennke  <[EMAIL PROTECTED]>
        
                * java/awt/Component.java
                (reshape): Invalidate the component itself only when the
                size has changed. Invalidate the parent always. Fixed
                repainting. Pulled out the notification into
                notifyReshape().
                (notifyReshape): New helper method. Notify interested listeners
                about a reshape.
                (update): Simply call paint() without clearing the background.
                This is done in Container.update() if appropriate.
                (repaint): Delagate the repaint to the nearest heavyweight
                parent (for lightweights) and send an UPDATE event, rather than
                calling ComponentPeer.repaint().
                * java/awt/Container.java
                (backCleared): Removed field.
                (paint): Removed handling of backCleared flag.
                (update): Only paint if the container is actually
                showing. Removed handling of backCleared flag.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/java/awt/Component.java?cvsroot=classpath&r1=1.138&r2=1.139
http://cvs.savannah.gnu.org/viewcvs/classpath/java/awt/Container.java?cvsroot=classpath&r1=1.101&r2=1.102
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8245&r2=1.8246


Reply via email to