src/main/java/com/mxgraph/swing/mxGraphComponent.java
public void repaintTripleBuffer(Rectangle dirty)
	{
		if (tripleBuffered && tripleBufferGraphics != null)
		{
			if (dirty == null)
			{
				dirty = new Rectangle(tripleBuffer.getWidth(),
						tripleBuffer.getHeight());
			}

			// Clears and repaints the dirty rectangle using the
			// graphics canvas as a renderer
			mxUtils.clearRect(tripleBufferGraphics, dirty, null);
			tripleBufferGraphics.setClip(dirty);
			graphControl.drawGraph(tripleBufferGraphics, true);
			tripleBufferGraphics.setClip(null);
		}
	}
/**
	 * Clears and repaints the triple buffer at the given rectangle or repaints
	 * the complete buffer if no rectangle is specified.
	 * 
	 * @param dirty
	 */
Clears and repaints the triple buffer at the given rectangle or repaints
the complete buffer if no rectangle is specified.

@param dirty
Clears and repaints the triple buffer at the given rectangle or repaints the complete buffer if no rectangle is specified . @param dirty
public void repaintTripleBuffer(Rectangle dirty)
	{
		if (tripleBuffered && tripleBufferGraphics != null)
		{
			if (dirty == null)
			{
				dirty = new Rectangle(tripleBuffer.getWidth(),
						tripleBuffer.getHeight());
			}
			mxUtils.clearRect(tripleBufferGraphics, dirty, null);
			tripleBufferGraphics.setClip(dirty);
			graphControl.drawGraph(tripleBufferGraphics, true);
			tripleBufferGraphics.setClip(null);
		}
	}
public void repaintTripleBuffer ( Rectangle dirty ) { if ( tripleBuffered && tripleBufferGraphics != null ) { if ( dirty == null ) { dirty = new Rectangle ( tripleBuffer . getWidth ( ) , tripleBuffer . getHeight ( ) ) ; } mxUtils . clearRect ( tripleBufferGraphics , dirty , null ) ; tripleBufferGraphics . setClip ( dirty ) ; graphControl . drawGraph ( tripleBufferGraphics , true ) ; tripleBufferGraphics . setClip ( null ) ; } }
Clears and repaints the triple buffer at the given rectangle or repaints
 the complete buffer if no rectangle is specified.
Clears and repaints the triple buffer at the given rectangle or repaints the complete buffer if no rectangle is specified .
// Clears and repaints the dirty rectangle using the // graphics canvas as a renderer