BasicTreeUI.this.editingPath = null; BasicTreeUI.this.editingRow = -1; BasicTreeUI.this.editingComponent = null; BasicTreeUI.this.cellEditor = null; BasicTreeUI.this.tree.repaint();
editingPath = null; editingRow = -1; stopEditingInCompleteEditing = false; if (editingComponent != null) tree.remove(editingComponent.getParent()); editingComponent = null; if (cellEditor != null) { if (cellEditor instanceof DefaultTreeCellEditor) tree.removeTreeSelectionListener((DefaultTreeCellEditor) cellEditor); cellEditor.removeCellEditorListener(cellEditorListener); setCellEditor(null); createdCellEditor = false; } tree.requestFocusInWindow(false); editorTimer.stop(); isEditing = false; tree.repaint();
		public void editingCanceled(ChangeEvent e)		{      BasicTreeUI.this.editingPath = null;      BasicTreeUI.this.editingRow = -1;      BasicTreeUI.this.editingComponent = null;      BasicTreeUI.this.cellEditor = null;      BasicTreeUI.this.tree.repaint();		}