/[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.86 by langel, Wed Oct 5 21:50:17 2005 UTC revision 1.87 by langel, Thu Oct 6 13:44:32 2005 UTC
# Line 2278  public class BasicTreeUI Line 2278  public class BasicTreeUI
2278            boolean cntlClick = isLocationInExpandControl(path, click.x, click.y);            boolean cntlClick = isLocationInExpandControl(path, click.x, click.y);
2279                        
2280            if (isLeaf(row))            if (isLeaf(row))
             {  
               bounds.x -= rightChildIndent - 4;  
2281                bounds.width += rightChildIndent + 4;                bounds.width += rightChildIndent + 4;
             }  
2282            else if (tree.isExpanded(path) && expandedIcon != null)            else if (tree.isExpanded(path) && expandedIcon != null)
2283                bounds.width += expandedIcon.getIconWidth() + 4;                bounds.width += expandedIcon.getIconWidth() + 4;
2284            else if (collapsedIcon != null)            else if (collapsedIcon != null)

Legend:
Removed from v.1.86  
changed lines
  Added in v.1.87

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