src/main/java/com/mxgraph/swing/mxGraphComponent.java
protected void installResizeHandler()
	{
		addComponentListener(new ComponentAdapter()
		{
			public void componentResized(ComponentEvent e)
			{
				zoomAndCenter();
			}
		});
	}
/**
	 * Applies the zoom policy if the size of the component changes.
	 */
Applies the zoom policy if the size of the component changes.
Applies the zoom policy if the size of the component changes .
protected void installResizeHandler()
	{
		addComponentListener(new ComponentAdapter()
		{
			public void componentResized(ComponentEvent e)
			{
				zoomAndCenter();
			}
		});
	}
protected void installResizeHandler ( ) { addComponentListener ( new ComponentAdapter ( ) { public void componentResized ( ComponentEvent e ) { zoomAndCenter ( ) ; } } ) ; }
Applies the zoom policy if the size of the component changes.
Applies the zoom policy if the size of the component changes .