Question: Must be in java. Need it same as output. use drawing class. Write a program that draws the patterns shown in Figure 36.33 onto
Must be in java. Need it same as output. use drawing class.
\
Write a program that draws the patterns shown in Figure 36.33 onto a drawingPanel. y Panel Figure 36.33 The drawingPanel's size is 400 x 400 pixels and its background color is cyan. It contains four figures of concentric yellow circles with black outlines, all surrounded by a green rectangle with a black outline. The four figures on your Drawing Panel should have the properties shown in Table 3G.7. Table 36.7 Circle Figure Properties Number Number of Description (x,y) position Size of subfigures of circles rows/cols (0,0) 100 x 100 5 bottom lett (10,120) 24 x 24 top right (150, 20) 40 x 40 6x6 bottom right (130, 275) 36 x 36 3x3 top left 4 5x5 Break down your program into methods for drawing one subfigure as well as larger grids of subfigures, such as the 5x 5 grid at (10, 120).
www MAMA M
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
