newGC.setBackground(canvas.getBackground());
newGC.fillRectangle(canvasArea);
newGC.drawImage(image, imageBounds.x, imageBounds.y, imageBounds.width, imageBounds.height,
xorg, yorg, width, height);
pe.gc.drawImage(buffer, 0, 0);
buffer.dispose();
newGC.dispose();
}
});
}
return canvas;