Experiment with 2D transforms, and find out that the order in which you do things matters.
Your browser does not support Java applets.