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: Mon, 04 Jul 2005 09:53:09 -0400

Same as the previous patch, just a slight change in a comment for
getCellBounds



On Thu, 2005-06-30 at 16:21 -0400, Lillian Angel wrote:
> 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
> _______________________________________________
> Classpath-patches mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/classpath-patches

Attachment: current.diff
Description: Text Data


reply via email to

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