I am new to Java...I am trying to draw several images in one drawing panel, but i can,t able to do..here are the details

The overall drawing panel is size 500 x 350. Its background color

is cyan. The rectangular area behind each grid of circles is green, and the background of the circles is yellow.

The rectangles and circles are outlined in black. Each grid also has a pair of lines drawn across it in an "X"

pattern. The six figures on your drawing panel should have the following properties.

Description (x, y) position size of subfigure circles per subfigure rows/cols

top-left (0, 0) 100 x 100 10 N / A

top-middle (160, 0) 60 x 60 6 N / A

top-right (250, 30) 100 x 100 5 N / A

bottom-left (10, 170) 48 x 48 4 3 x 3

bottom-middle (180, 190) 24 x 24 3 5 x 5

bottom-right (340, 170) 72 x 72 9 2 x 2

The 100x100 subfigure has 10 circles, and each circle has a gap of 5 pixels from any others (a total of 20 gaps for both directions...the thing is I have to use only parameters and for loops..could any one help me for this .