Specifying an area of size 300 pixels 300 pixels in your HTML file, create an applet

Question:

Specifying an area of size 300 pixels × 300 pixels in your HTML file, create an applet that holds an image that is positioned and scaled so that it occupies an area 40 pixels in from each side of the applet window. In order that the applet window can be distinguished from the Web page, change the colour of the applet’s background to any colour of your choice.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: