classpath-patches
[Top][All Lists]
Advanced

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

[cp-patches]: BasicTreeUI fix


From: Lillian Angel
Subject: [cp-patches]: BasicTreeUI fix
Date: Wed, 17 Aug 2005 11:34:43 -0400

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

        * javax/swing/plaf/basic/BasicTreeUI.java
        (getCellLocation): Added in check if node is a leaf.
        Shouldnt call getChildCount if a leaf. May cause NPE.
        (paintRecursive): Likewise.
        (paintControlIcons): Likewise.
        (findNode): Likewise.
        (getNextNode): Likewise.
        (getPreviousNode): Likewise.
        (getNextSibling): Likewise.
        (getPreviousSibling): Likewise.

Attachment: patch.diff
Description: Text Data


reply via email to

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