Rotating an image 90 Degrees
Hi, I'm trying to rotate an image 90 degrees clockwise AND counterclockwise
at the click of a button. For instance if a click something that says "clockwise" it rotates my image 90 degrees clockwise. someone told me to use the code:
public abstract void rotate(double theta,
but I don't know how I'm supposed to use this code...nor where am i am supposed to put it. I mean, where/how do i put the 90 degrees in? inside of theta just put 90? and i put this entire code in mouse listeners? waitforClick(); ??
someone please help