Click to See Complete Forum and Search --> : turn image in applet


merxais
03-08-2006, 05:20 AM
turn
public void turn(java.lang.String objName,
double degrees)rotates an object the specified number of degrees EX: turn("a", 90) will turn object a 90 degrees left turn("b", -90) will turn object b 90 degrees right

Parameters:
objName - the name of the object to be rotated
degrees - the number of degrees to rotate counter-clockwise about the y axis


i tried but it didnt turn.... how come?

Khalid Ali
03-08-2006, 07:20 AM
seems like objectName should point to an image path, and image must be accessible by this applet....you should post what errors u get while trying this...