Graphic Java

Sometimes creating images using drawLine can be a little frustrating. Sometimes its a good idea to draw your image on paper and figure out the coordinates for your lines BEFORE you actually start coding. Professional programmers generally take a lot of time for the planning stage BEFORE they start actually coding. This planning stage is often referred to as the DESIGN phase of the software development cycle. For a really big project the DESIGN phase could take a few weeks. For this project, the student will probably only need about five minutes to complete the design phase.
EXAMPLE: This applet is an approximation of what the student will be expected to create. No code will be offered since the student will need to experiment with the use of the drawLine method to successfully complete this activity.
x

ASSIGNMENT:
Basically, the student will draw a simple star. The only trick here is figuring out how to place the five lines required to create a properly proportioned star.