Write a Java code using JFrame. This code needs to manipulate 4 shapes(2 rectangles and 2 squares) in a 400x400 JFrame. This needs to manipulate the shapes in 3 different ways, using 3 different methods. One for translating a shape, one for proportionally shrinking a shape, and one for proportionally growing a shape. At least 3 of the shapes must be maniulated and all the methods need to be used at least once. Notes this must be animated, not just jumped across the panel. Thank you in advance.