Question: Write and execute a Java program that displays one of the following figures on a window. The window must be of size third of screen-width
Write and execute a Java program that displays one of the following figures on a window. The window must be of size third of screen-width third of screen-height at a location of your choice. You are free to choose the dimensions and location of the figure you draw. However, the figure should be close enough to the one shown here and large enough so that the details are visible to naked eye.
Conform your program to the following guidelines:
(i) The shape of the figure should be reasonably close to the one shown here.
(ii) One of the fill colors of the figure must be constructed by mixing colors. Colors should be similar to the ones shown but not necessarily exact match.
(iii) Your name must be written as a comment at the top of the program.
(iv) Turn in a printout of the screen-shot of program and display together.

Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
