classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] Patch: Label and icon fixes for tree nodes.


From: Lillian Angel
Subject: [cp-patches] Patch: Label and icon fixes for tree nodes.
Date: Tue, 09 Aug 2005 14:19:14 -0400

2005-08-09  Lillian Angel  <address@hidden>

        * javax/swing/plaf/basic/BasicLabelUI.java
        (paint): Added in painting code for label border.
        * javax/swing/plaf/basic/BasicTreeUI.java
        (paintControlIcons): Fixed location for control icons.
        * javax/swing/plaf/metal/MetalLookAndFeel.java:
        Added defaults for selection and non-selection border for
        tree cells.
        * javax/swing/tree/DefaultTreeCellRenderer.java
        (getTreeCellRendererComponent): Set borders for node. Also,
        made node transparent (not opaque), So JLabel draws icon,
        text and border appropriately.

Attachment: tree.diff
Description: Text Data


reply via email to

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