Write a program to plot a set of four rectangles as below.

 
Hint: 1. Declare the first rectangle.  2. Use translate method to draw rest three rectangles one by one.

Provide a class FourRecViewer and a class FourRecComponent.

Send both java files to extrapo66@yahoo.com