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) |
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 |
} |
} |
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 |
{ |
{ |