Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Master The Art Of Data Storytelling With Visualizations

Authors: Alexander N Donovan

1st Edition

B0CNMD9QRD, 979-8867864248

More Books

Students also viewed these Databases questions