/[classpath]/classpath/javax/swing/plaf/basic/BasicTreeUI.java
ViewVC logotype

Diff of /classpath/javax/swing/plaf/basic/BasicTreeUI.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.81 by langel, Fri Sep 23 15:14:54 2005 UTC revision 1.82 by langel, Fri Sep 23 17:05:06 2005 UTC
# Line 3127  public class BasicTreeUI Line 3127  public class BasicTreeUI
3127    int paintRecursive(Graphics g, int indentation, int descent, int childNumber,    int paintRecursive(Graphics g, int indentation, int descent, int childNumber,
3128                       int depth, JTree tree, TreeModel mod, Object curr)                       int depth, JTree tree, TreeModel mod, Object curr)
3129    {    {
3130      Rectangle clip = g.getClipBounds();      Rectangle clip = tree.getVisibleRect();
3131      if (indentation > clip.x + clip.width + rightChildIndent      if (indentation > clip.x + clip.width + rightChildIndent
3132          || descent > clip.y + clip.height + getRowHeight())          || descent > clip.y + clip.height + getRowHeight())
3133        return descent;        return descent;

Legend:
Removed from v.1.81  
changed lines
  Added in v.1.82

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26