I am new to java programming, learning at college. I have a coursework and i would like to be able to rotate a basic 2d shape through a stated number of degrees. I only need simple code as I have got to explain all the code I use in a report.