Question: Write a Java program using DrawingPanel.java co draw the following figure. Your program must use definite loops for drawing the lines inside the triangle.
Write a Java program using DrawingPanel.java co draw the following figure. Your program must use definite loops for drawing the lines inside the triangle. The window is 600 x 600 pixels, the lines inside the triangle are vertically separated by 20 pixels and are red in color. You should replace the text "Sample Image" at (50,550) with your name. Submit your source-code file by attaching it to this assignment (no need to submit DrawingPanel.java). Drawing Panel Eile View Help Sample Image (x=597, y=199), r-255 g-255 b=255
Step by Step Solution
There are 3 Steps involved in it
Here is the completed code for this problem Since you did not provide DrawingPanel ... View full answer
Get step-by-step solutions from verified subject matter experts
