How can I rotate image and move it to a position where it points?

Hi!

I want to do a little 2D car racing applet game and I have some problems doing it.

I used graphics2D-rotate method to rotate Image of a car (like turning a car) and it worked but I cannot move the Image to that position where I have rotated it.

I think that I should use some kind of translate or transform method to do it but I don't know how.

I'm sorry for my bad english skill but I hope someone got the point of my question.

[466 byte] By [RandomNeroa] at [2007-11-27 9:01:03]
# 1
Take the graphics tutorial: http://java.sun.com/docs/books/tutorial/2d/index.html
BigDaddyLoveHandlesa at 2007-7-12 21:30:24 > top of Java-index,Java Essentials,New To Java...
# 2
Ok,I'll look into it.Thanks
RandomNeroa at 2007-7-12 21:30:24 > top of Java-index,Java Essentials,New To Java...