Question: Implement a Picture,java applet which displays a house a tree, three flowers (not all identical), and sky with crescent moon, five or more stars and

 Implement a Picture,java applet which displays a house a tree, three

Implement a Picture,java applet which displays a house a tree, three flowers (not all identical), 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 fillPolygon (or drawPolygon) to make the stars. Use filloval to draw the moor (partially 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. xsli)= XOffset + radius * cos(72. Math. Pl)umPoints); and something similar for ys) Upload Picture.java and a screenshot of the running applet. (Your screenshot appletviewer window itself, not your whole desktop.) The screenshot should be saved as a gif or ipeg or png. Suggested dimensions: 800 pixels wide x 600 pixels high. re java and a screenshot of the running applet. (Your screenshot should just include the

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!