Hi i have a backbuffer and a graphicsbuffer :
public Image offScreenImage;
public Graphics offScreenGraphics;
in my paint() method i have this :
width = getSize().width;
height = getSize().height;
// Create off screen image
if(offScreenGraphics == null) {
offScreenImage = createImage(width, height);
offScreenGraphics=offScreenImage.getGraphics();
}
how can i change the size of the image and the backbuffergraphics when my window is resized ?
Tx
Phil
(i hope it’s the right place to ask,…first topic for me !)