protected void createTripleBuffer(int width,int height){
  try {
    tripleBuffer=mxUtils.createBufferedImage(width,height,null);
    tripleBufferGraphics=tripleBuffer.createGraphics();
    repaintTripleBuffer(null);
  }
 catch (  OutOfMemoryError error) {
  }
}

protected void createTripleBuffer ( int width , int height ) { try { tripleBuffer = mxUtils . createBufferedImage ( width , height , null ) ; tripleBufferGraphics = tripleBuffer . createGraphics ( ) ; repaintTripleBuffer ( null ) ; } catch ( OutOfMemoryError error ) { } }
creates the triplebuffergraphics and triplebuffer for the given dimension and draws the complete graph onto the triplebuffer .
