Write a program called ShowDesign that uses the DrawingPanel to draw Figure 3G.26 . The window is

Question:

Write a program called ShowDesign that uses the DrawingPanel to draw Figure 3G.26.

S Drawing Panel

The window is 200 pixels wide and 200 pixels tall. The background is white and the foreground is black. There are 20 pixels between each of the four rectangles, and the rectangles are concentric (their centers are at the same point). Use a loop to draw the repeated rectangles.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: