src/main/java/com/mxgraph/swing/mxGraphComponent.java
public Object labelChanged(Object cell, Object value, EventObject evt)
	{
		mxIGraphModel model = graph.getModel();

		model.beginUpdate();
		try
		{
			graph.cellLabelChanged(cell, value, graph.isAutoSizeCell(cell));
			eventSource.fireEvent(new mxEventObject(mxEvent.LABEL_CHANGED,
					"cell", cell, "value", value, "event", evt));
		}
		finally
		{
			model.endUpdate();
		}

		return cell;
	}
/**
	 * Sets the label of the specified cell to the given value using
	 * mxGraph.cellLabelChanged and fires mxEvent.LABEL_CHANGED while the
	 * transaction is in progress. Returns the cell whose label was changed.
	 * 
	 * @param cell
	 *            Cell whose label should be changed.
	 * @param value
	 *            New value of the label.
	 * @param evt
	 *            Optional event that triggered the change.
	 */
Sets the label of the specified cell to the given value using
mxGraph.cellLabelChanged and fires mxEvent.LABEL_CHANGED while the
transaction is in progress. Returns the cell whose label was changed.

@param cell
Cell whose label should be changed.
@param value
New value of the label.
@param evt
Optional event that triggered the change.
Sets the label of the specified cell to the given value using mxGraph . cellLabelChanged and fires mxEvent . LABEL_CHANGED while the transaction is in progress . Returns the cell whose label was changed . @param cell Cell whose label should be changed . @param value New value of the label . @param evt Optional event that triggered the change .
public Object labelChanged(Object cell, Object value, EventObject evt)
	{
		mxIGraphModel model = graph.getModel();
		model.beginUpdate();
		try
		{
			graph.cellLabelChanged(cell, value, graph.isAutoSizeCell(cell));
			eventSource.fireEvent(new mxEventObject(mxEvent.LABEL_CHANGED,
					"cell", cell, "value", value, "event", evt));
		}
		finally
		{
			model.endUpdate();
		}
		return cell;
	}
public Object labelChanged ( Object cell , Object value , EventObject evt ) { mxIGraphModel model = graph . getModel ( ) ; model . beginUpdate ( ) ; try { graph . cellLabelChanged ( cell , value , graph . isAutoSizeCell ( cell ) ) ; eventSource . fireEvent ( new mxEventObject ( mxEvent . LABEL_CHANGED , "cell" , cell , "value" , value , "event" , evt ) ) ; } finally { model . endUpdate ( ) ; } return cell ; }
Sets the label of the specified cell to the given value using
 mxGraph.cellLabelChanged and fires mxEvent.LABEL_CHANGED while the
 transaction is in progress.
Sets the label of the specified cell to the given value using mxGraph . cellLabelChanged and fires mxEvent . LABEL_CHANGED while the transaction is in progress .