/[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.87 by langel, Thu Oct 6 13:44:32 2005 UTC revision 1.88 by langel, Thu Oct 6 19:26:30 2005 UTC
# Line 1318  public class BasicTreeUI Line 1318  public class BasicTreeUI
1318      setCellEditor(createDefaultCellEditor());      setCellEditor(createDefaultCellEditor());
1319      createdCellEditor = true;      createdCellEditor = true;
1320      isEditing = false;      isEditing = false;
1321        
1322      TreeModel mod = tree.getModel();      TreeModel mod = tree.getModel();
1323      setModel(mod);      setModel(mod);
1324      if (mod != null)      if (mod != null)
# Line 1564  public class BasicTreeUI Line 1564  public class BasicTreeUI
1564      int y;      int y;
1565      if (event == null)      if (event == null)
1566        {        {
1567          if (bounds == null)          bounds = getPathBounds(tree, path);
            bounds = getPathBounds(tree, path);  
1568          x = bounds.x;          x = bounds.x;
1569          y = bounds.y;          y = bounds.y;
1570        }        }
# Line 3628  public class BasicTreeUI Line 3627  public class BasicTreeUI
3627              && node.equals(editingPath.getLastPathComponent()))              && node.equals(editingPath.getLastPathComponent()))
3628            {            {
3629              rendererPane.paintComponent(g, editingComponent.getParent(), null,              rendererPane.paintComponent(g, editingComponent.getParent(), null,
3630                                          new Rectangle(0, 0, bounds.width, bounds.height));                                          new Rectangle(getCurrentControlIcon(path).
3631                                                          getIconWidth() - 5, 0, bounds.width,
3632                                                          bounds.height));
3633            }            }
3634          else          else
3635            {            {

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

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