2005-09-23  Lillian Angel  <[EMAIL PROTECTED]>

        Fixes Bug #24022
        * javax/swing/plaf/basic/BasicTreeUI.java
        (paint): Took out unneeded code.

Index: javax/swing/plaf/basic/BasicTreeUI.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/basic/BasicTreeUI.java,v
retrieving revision 1.80
diff -u -r1.80 BasicTreeUI.java
--- javax/swing/plaf/basic/BasicTreeUI.java	19 Sep 2005 19:42:22 -0000	1.80
+++ javax/swing/plaf/basic/BasicTreeUI.java	23 Sep 2005 15:13:51 -0000
@@ -1400,9 +1400,6 @@
       {
         Object root = treeModel.getRoot();
 
-        if (!tree.isRootVisible())
-          tree.expandPath(new TreePath(root));
-
         paintRecursive(g, 0, 0, 0, 0, tree, treeModel, root);
 
         if (hasControlIcons())
_______________________________________________
Classpath-patches mailing list
Classpath-patches@gnu.org
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to