classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: DefaultCaret performance fix


From: Roman Kennke
Subject: [cp-patches] FYI: DefaultCaret performance fix
Date: Tue, 4 Oct 2005 17:16:57 +0200 (CEST)
User-agent: SquirrelMail/1.4.4

Hi,

The DefaultCaret blinking has caused alot of overhead via the repainting
queue: 1st it always repainted the whole textcomponent (imaging repainting
a whole styled text window only for caret blinking), 2nd: it repainted on
a setVisible call even if the actual value did not change. Both are fixed.

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

        * javax/swing/text/DefaultCaret.java
        (repaint): Adjust repaint rectangle.
        (setVisible): Only repaint if the visible property actually changed.


/Roman

Attachment: DefaultCaret.diff
Description: Text Data


reply via email to

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