classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: RepaintManager fix


From: Roman Kennke
Subject: [cp-patches] FYI: RepaintManager fix
Date: Mon, 14 Nov 2005 12:52:11 +0000

The RepaintManagers static access methods currentManager() and
setCurrentManager() should manage the RepaintManager instances by the
calling thread's ThreadGroup instead of using one global instance for
everything. I implemented this in the following patch.

2005-11-14  Roman Kennke  <address@hidden>

        * javax/swing/RepaintManager.java
        (globalManager): Removed obsolete field.
        (currentRepaintManagers): New field.
        (RepaintWorker.run): Fetch current RepaintManager for the current
        thread group.
        (currentManager): Return the current manager for the current
thread
        group.
        (setCurrentManager): Set the repaint manager for the current
thread
        group.

/Roman

Attachment: patch.diff
Description: Text Data


reply via email to

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