classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches]: Patch: painting icons


From: Lillian Angel
Subject: [cp-patches]: Patch: painting icons
Date: Wed, 13 Jul 2005 15:03:38 -0400

This paints the icons when using a look and feel other than 'basic'. I
still need to make the control icons work for MetalL&F. Also, clicking
still needs to be fixed so it works the same as Sun's.

2005-07-13 Lillian Angel <address@hidden>
        * javax/swing/plaf/basic/BasicLookAndFeel.java: Changed 
        rowHeight to the right height. This should be fixed later to 
        something more reasonable, as opposed to a 'magic' number.
        * javax/swing/plaf/basic/BasicTreeUI.java
        (paintLeaf): added in code to paint icons properly
        (paintNonLeaf): same as above
        * javax/swing/plaf/metal/MetalLookAndFeel.java: Changed default
        icons to MetalIconFactory icons
        * javax/swing/tree/DefaultTreeCellRenderer.java
        (getTreeCellRendererComponent): Changed to paint icons 
        separately from cell.

Attachment: current.diff
Description: Text Data


reply via email to

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