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: Thu, 05 Jan 2006 16:28:27 +0000

Hi there,

I fixed a bug in the RepaintManager. Until now, the RepaintManager
iterated over all invalid components and simply called validate() on it.
However, it should not validate() the invalid components directly, but
instead search the component's validate root (see
JComponent.isValidateRoot() for details) and validate that. This is
fixed by this patch. This should give us some performance gain, since it
avoids unnecessary multiple validations.

2006-01-05  Roman Kennke  <address@hidden>

        * javax/swing/RepaintManager.java
        (validateInvalidComponents): Search for the validate root
        and start validating there.

/Roman

Attachment: patch.diff
Description: Text Data


reply via email to

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