I'm going to assume that you understand how to rotate an image once. If you do not, you will probably find this with a quick google search.
You need a background process that rotates it for you. It works as follows:
public class RotatableImage { Image image; float currentDegrees; public RotateableImage(Image image) { this.image = image; this.currentDegrees = 0.0f; this.remainingDegrees = 0.0f; } public void paintOn(Graphics g) {
source share