classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches] Need Approval: Patch: JTree selection


From: Lillian Angel
Subject: [cp-patches] Need Approval: Patch: JTree selection
Date: Thu, 30 Jun 2005 16:21:36 -0400

Now when you click on a node in the JTree it actually highlights it.
patch attached, approval needed.

2005-06-30  Lillian Angel  <address@hidden>

        * javax/swing/JTree.java
                (addSelectionPath): if mouse click somewhere other than 
                a row, all selections are removed
        * javax/swing/plaf/basic/BasicTreeUI.java
                (mouseClicked): if mouse clicked on a row, all other 
                selections are cleared
                (getCellBounds): Implemented
                (paintLeaf): paints with cell bounds
                (paintNonLeaf): paints with cell bounds
        * javax/swing/tree/DefaultTreeCellRenderer.java:
                (getTreeCellRendererComponent): changed color of 
                selected row
                (getFont): Implemented
        * javax/swing/tree/DefaultTreeSelectionModel.java:
                (addSelectionPaths): check if parameter is null
                (removeSelectionPaths): check if parameter is null

Attachment: current.diff
Description: Text Data


reply via email to

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