Index: javax/swing/plaf/basic/BasicTreeUI.java =================================================================== RCS file: /cvsroot/classpath/classpath/javax/swing/plaf/basic/BasicTreeUI.java,v retrieving revision 1.81 diff -u -r1.81 BasicTreeUI.java --- javax/swing/plaf/basic/BasicTreeUI.java 23 Sep 2005 15:14:54 -0000 1.81 +++ javax/swing/plaf/basic/BasicTreeUI.java 23 Sep 2005 17:01:47 -0000 @@ -3127,7 +3127,7 @@ int paintRecursive(Graphics g, int indentation, int descent, int childNumber, int depth, JTree tree, TreeModel mod, Object curr) { - Rectangle clip = g.getClipBounds(); + Rectangle clip = tree.getVisibleRect(); if (indentation > clip.x + clip.width + rightChildIndent || descent > clip.y + clip.height + getRowHeight()) return descent;