[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commit-cp] classpath javax/swing/ ./Cha...

From: Roman Kennke
Subject: [commit-cp] classpath javax/swing/ ./Cha...
Date: Thu, 02 Feb 2006 21:13:54 +0000

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Changes by:     Roman Kennke <address@hidden>   06/02/02 21:13:54

Modified files:
        javax/swing    : 
        .              : ChangeLog 

Log message:
        2006-02-02  Roman Kennke  <address@hidden>
        * javax/swing/
        Made fields private.
        ( Enclosed work stuff in try finally block in
        order to clean up correctly if invalidation or painting fails,
        otherwise we would get no more RepaintWorkers onto the EventQueue.
        Also, now the RepaintWorker is marked 'dead' only after it has
        finished its work, avoid more than one RepaintWorker on the queue.
        (ComponentComparator.compareTo): Compare dirty rectangle sizes
        instead of hierarchy depths.
        (workDirtyComponents): Removed unused field.
        (repaintOrder): Removed unused field.
        (workRepaintOrder): Removed unused field.
        (workInvalidComponents): Removed unused field.
        (RepaintManager()): Removed initialization of removed fields.
        (addInvalidComponent): Fine tuned synchronization.
        (removeInvalidComponent): Fine tune synchronization.
        (addDirtyRegion): Short circuit invalid dirty regions. Fine tuned
        synchronization. Don't manager repaintOrder here.
        (insertRepaintOrder): Removed method.
        (markCompletelyClean): Fine tuned synchronization.
        (validateInvalidComponents): Dont use a working copy of the
        invalidComponents list, instead fine tuned synchronization on this
        list. Also, don't search validateRoot, this is already done in
        (paintDirtyRegions): Compute repaint order here, based on size of
        damaged regions. Fine tuned synchronization. Avoid use of working
        copies of dirtyComponent.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]