classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] FYI: BasicListUI


From: Roman Kennke
Subject: [cp-patches] FYI: BasicListUI
Date: Thu, 10 Nov 2005 20:35:13 +0000

Hi,

I fixed some buggies in the BasicListUI. The fixed cell height and width
should now correctly be recognized. In addition to that I optimized the
painting so that only the cells within the clip bounds are painted. This
greatly improved performance when scrolling. This is really smooth now.
I'll implement a similar optimization for JTable, JTree and the text
components soon.

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

        * javax/swing/plaf/basic/BasicListUI.java
        (valueChanged): Repaint list when selection changed.
        (updateLayoutState): Reworked to correctly respect fixed cell
sizes.
        (installListeners): Create component listener before adding it.
        (paint): Optimized to only draw the cells in the clip.

/Roman

Attachment: patch.diff
Description: Text Data


reply via email to

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