I have an image I am rotating when the user clicks on a button. But it is not working.
I would like to see the image rotating gradually to 90 degrees till it stops b
The code for Rotated Icon uses the AffineTransform to rotate about its center.