commit-classpath
[Top][All Lists]
Advanced

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

[commit-cp] classpath ./ChangeLog javax/swing/plaf/basic/Ba...


From: Lillian Angel
Subject: [commit-cp] classpath ./ChangeLog javax/swing/plaf/basic/Ba...
Date: Wed, 20 Jul 2005 09:52:04 -0400

CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Lillian Angel <address@hidden>  05/07/20 13:52:04

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

Log message:
        A user tested his program with custom icons and had the root hidden. He 
tested
        it with Sun, and noticed that it worked properly by showing the 
children of the
        root to appear as independant trees. Now our JTree works the same.
        
        2005-07-20  Lillian Angel  <address@hidden>
        
        * javax/swing/plaf/basic/BasicTreeUI.java
        (paint): Changed to paint children of root as roots if the
        root is not visible, but the root path is expanded.
        (getPathForRow): If the root is not visible, but expanded,
        the first child should be considered row 0.
        (getRowCount): Likewise.
        (getPathBounds): Likewise.
        (getCellLocation): If root is not visible, but expanded, the
        level of each node is lowered by 1.
        (paintRecursive): If root is not visible, but expanded, there should
        be no indentation when the children are drawn. Also, there should be no
        line drawn connecting the children. This makes it look like there are 2
        independant trees (works same as JDK).

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/ChangeLog.diff?tr1=1.4158&tr2=1.4159&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/classpath/classpath/javax/swing/plaf/basic/BasicTreeUI.java.diff?tr1=1.43&tr2=1.44&r1=text&r2=text





reply via email to

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