tabs -> spaces,
moved the method to rotate around a point to AbstractApplet