CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Lillian Angel <[EMAIL PROTECTED]>       06/01/09 18:44:46

Modified files:
        .              : ChangeLog 
        javax/swing/plaf/basic: BasicTreeUI.java 

Log message:
        2006-01-09  Lillian Angel  <[EMAIL PROTECTED]>
        
        * javax/swing/plaf/basic/BasicTreeUI.java:
        Added new field.
        (setRowHeight): Row height is set to the max height of
        all the nodes, or 20 as a default value.
        (getPathBounds): Cleaned up code.
        (getMaxHeight): New helper function that gets the max
        height of all the rows.
        (getClosestPathForLocation): Fixed to use getMaxHeight.
        (updateCachedPreferredSize): Likewise.
        (installUI): Shouldn't expand tree on startup.
        (getNodeDimensions): Fixed to use getMaxHeight.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.5978&tr2=1.5979&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicTreeUI.java.diff?tr1=1.116&tr2=1.117&r1=text&r2=text


Reply via email to