Write a program called Triangle that uses the DrawingPanel to draw the figure shown in Figure 3G.33

Question:

Write a program called Triangle that uses the DrawingPanel to draw the figure shown in Figure 3G.33.

Drawing Panel

The window is 600 × 200 pixels in size. The background is yellow and the lines are blue. The lines are 10 pixels apart vertically, and the diagonal lines intersect at the bottom of the figure in its horizontal center.

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

Step by Step Answer:

Related Book For  book-img-for-question

Building Java Programs A Back To Basics Approach

ISBN: 9780135471944

5th Edition

Authors: Stuart Reges, Marty Stepp

Question Posted: