What is rotate doing here?
Graphics2D g = (Graphics2D)strategy.getDrawGraphics();
// paint background and other images
...
// Now paint a rotated image.
g.rotate(...);
g.drawImage(...);
g.rotate(...);
// Display results
strategy.show();
Is the first rotate() call rotating the whole screen that has been draw, then draw the image I want rotated, and then rotate the whole screen back?
Isn’t this a big overhead? What’s the best way just to rotate one picture?