src/main/java/com/mxgraph/swing/mxGraphComponent.java
public mxInteractiveCanvas createCanvas()
	{
		// NOTE: http://forum.jgraph.com/questions/3354/ reports that we should not
		// pass image observer here as it will cause JVM to enter infinite loop.
		return new mxInteractiveCanvas();
	}
/**
	 * Hook for subclassers to replace the graphics canvas for rendering and and
	 * printing. This must be overridden to return a custom canvas if there are
	 * any custom shapes.
	 */
Hook for subclassers to replace the graphics canvas for rendering and and
printing. This must be overridden to return a custom canvas if there are
any custom shapes.
Hook for subclassers to replace the graphics canvas for rendering and and printing . This must be overridden to return a custom canvas if there are any custom shapes .
public mxInteractiveCanvas createCanvas()
	{
		return new mxInteractiveCanvas();
	}
public mxInteractiveCanvas createCanvas ( ) { return new mxInteractiveCanvas ( ) ; }
Hook for subclassers to replace the graphics canvas for rendering and and
 printing.
Hook for subclassers to replace the graphics canvas for rendering and and printing .
// NOTE: http://forum.jgraph.com/questions/3354/ reports that we should not // pass image observer here as it will cause JVM to enter infinite loop.