CVSROOT:        /cvsroot/classpath
Module name:    classpath
Branch:         
Changes by:     Lillian Angel <[EMAIL PROTECTED]>       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  <[EMAIL PROTECTED]>
        
        * 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



_______________________________________________
Commit-classpath mailing list
Commit-classpath@gnu.org
http://lists.gnu.org/mailman/listinfo/commit-classpath

Reply via email to