Write a Java 2D program to display a shape as shown below. Use a cyclic gradient paint. Apply a stroke of width 12, CAP ROUND and JOIN MITER. (Rotation) A left mouse click rotates the object by /6 about the point of mouse location. (Reflection) A right mouse click flips the object about the vertical line through the mouse location Print the matrix of the current affine transform (first 2 rows) in the panel.
1.000 00.000 0.000 1.000 0.000
-
0.866 -0.500560.047 0.500-0.866397.432
.866 0.500 0.500
88.047