classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] Patch: BasicTreeUI fix


From: Lillian Angel
Subject: [cp-patches] Patch: BasicTreeUI fix
Date: Fri, 14 Oct 2005 17:42:18 -0400

After testing some new apps, I noticed that there was a slight problem
with some custom icons. I almost have it fixed completely.

2005-10-14  Lillian Angel  <address@hidden>

        * javax/swing/LookAndFeel.java
        (makeIcon): Implemented.
        * javax/swing/plaf/basic/BasicTreeUI.java
        (updateCachedPreferredSize): Should only add with of control
icon if
        not a leaf.
        (mousePressed): Fixed to use new gap field.
        (paintRecursive): Likewise.
        (paintRow): Likewise.
        (updateCurrentVisiblePath): Shouldn't include root if it is
        not of a valid size to be painted.

Attachment: patch_.diff
Description: Text Data


reply via email to

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