/[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.31 by langel, Wed Jul 13 19:00:45 2005 UTC revision 1.32 by langel, Wed Jul 13 21:15:42 2005 UTC
# Line 87  import javax.swing.event.TreeSelectionEv Line 87  import javax.swing.event.TreeSelectionEv
87  import javax.swing.event.TreeSelectionListener;  import javax.swing.event.TreeSelectionListener;
88  import javax.swing.plaf.ComponentUI;  import javax.swing.plaf.ComponentUI;
89  import javax.swing.plaf.TreeUI;  import javax.swing.plaf.TreeUI;
 import javax.swing.plaf.metal.MetalIconFactory;  
90  import javax.swing.tree.AbstractLayoutCache;  import javax.swing.tree.AbstractLayoutCache;
91  import javax.swing.tree.FixedHeightLayoutCache;  import javax.swing.tree.FixedHeightLayoutCache;
92  import javax.swing.tree.DefaultMutableTreeNode;  import javax.swing.tree.DefaultMutableTreeNode;
# Line 2670  public class BasicTreeUI Line 2669  public class BasicTreeUI
2669              descent += getRowHeight();              descent += getRowHeight();
2670              y0 += halfHeight;              y0 += halfHeight;
2671           }           }
2672            
2673           int max = mod.getChildCount(curr);           int max = mod.getChildCount(curr);
2674           if (tree.isExpanded(new TreePath(((DefaultMutableTreeNode) curr)           if (tree.isExpanded(new TreePath(((DefaultMutableTreeNode) curr)
2675                 .getPath())))                 .getPath())))
# Line 2694  public class BasicTreeUI Line 2694  public class BasicTreeUI
2694           }           }
2695        return descent;        return descent;
2696     }     }
   
2697  } // BasicTreeUI  } // BasicTreeUI

Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

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