CVSROOT:        /cvsroot/classpath
Module name:    classpath
Changes by:     Roman Kennke <rabbit78> 06/11/29 12:56:40

Modified files:
        java/awt       : Component.java 
        gnu/java/awt/peer/swing: SwingComponentPeer.java 
        gnu/java/awt/peer/gtk: GtkComponentPeer.java 
        .              : ChangeLog 

Log message:
        2006-11-29  Roman Kennke  <[EMAIL PROTECTED]>
        
                * java/awt/Component.java
                (isShowing): Simplified condition code and avoid unnecessary
                if-codepaths.
                (coalesceEvents): Always coalesce paint events and let the peer
                figure out the expanding of the repaint area.
                * gnu/java/awt/peer/swing/SwingComponentPeer.java
                (currentPaintEvents): Removed. Replaced by paintArea.
                (paintArea): New field. Tracks the dirty area.
                (SwingComponentPeer): Removed init of currentPaintEvents.
                (coalescePaintEvent): Simplified to only union the dirty 
regions.
                (handleEvent): Paint dirty region that was tracked in paintArea.
                * gnu/java/awt/peer/gtk/GtkComponentPeer.java
                (paintArea): New field. Tracks the dirty region.
                (coalescePaintEvent): Implemented to track the dirty region.
                (paintComponent): Use the dirty region in paintArea. Protect
                state by putting the paint and dispose code in a try-finally.
                (updateComponent): Use the dirty region in paintArea. Protect
                state by putting the paint and dispose code in a try-finally.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/java/awt/Component.java?cvsroot=classpath&r1=1.150&r2=1.151
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/peer/swing/SwingComponentPeer.java?cvsroot=classpath&r1=1.6&r2=1.7
http://cvs.savannah.gnu.org/viewcvs/classpath/gnu/java/awt/peer/gtk/GtkComponentPeer.java?cvsroot=classpath&r1=1.121&r2=1.122
http://cvs.savannah.gnu.org/viewcvs/classpath/ChangeLog?cvsroot=classpath&r1=1.8878&r2=1.8879


Reply via email to