classpath-patches
[Top][All Lists]
Advanced

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

Re: [cp-patches] FYI: JComponent optimization


From: Roman Kennke
Subject: Re: [cp-patches] FYI: JComponent optimization
Date: Mon, 10 Oct 2005 13:56:17 +0000

Hi,

Am 10.10.2005 schrieb "Mark Wielaard" <address@hidden>:

>hi,
>
>On Mon, 2005-10-10 at 12:35 +0000, Roman Kennke wrote:
>> 2005-10-10  Roman Kennke  <address@hidden>
>> 
>>         * javax/swing/JComponent.java
>>         (paintChildren): Skip children if their clip _doesn't_ hit the
>>         current clip.
>> [...]
>>      if (g.hitClip(bounds.x, bounds.y, bounds.width, bounds.height))
>>        continue;
>
>So this should be !g.hitClip(). That is what you committed, so CVS is
>OK.

Here comes the correct patch.

2005-10-10  Roman Kennke  <address@hidden>

        * javax/swing/JComponent.java
        (paintChildren): Skip children if their clip _doesn't_ hit the
        current clip.
        (setVisible): Do nothing if the actual value didn't change.

/Roman

Attachment: JComponent.diff
Description: Text Data


reply via email to

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