Question: Assignment 1 (Due Jan. 8, by 11:59pm) Implement a Picturejav a which displays a house a tree,three flowers (ntall idenical), and sky with crescent moon,five

 Assignment 1 (Due Jan. 8, by 11:59pm) Implement a Picturejav a

Assignment 1 (Due Jan. 8, by 11:59pm) Implement a Picturejav a which displays a house a tree,three flowers (ntall idenical), and sky with crescent moon,five or more stars and a comet. The stars must include 5-pointed, 6-pointed and 7-pointed varieties. The comet should be a white disk with lines emanating from it. Also, include a caption with some text. You may use any of the methods of the Graphics class. Use filPolygon (or drawpolygon) to ly cover a white disk with a sky-colored disk to get a crescent). For nice symmetrical stars (optional) you can use sine and cosine to determine location of the points. xs[i-xOffset + radiuscos(72Math PlinumPoints): and something similar for ysl Upload Picture,java and a screenshot of the running applet. (Your s your whole desktop.) The screenshot should be saved as a gor jpeg or png. Suggested dimensions: 800 pixels wide x 600 pixels h

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!