CS 110: Introduction to Programming in Java

Kalamazoo College

Applet Mini-Lab


Type in the HTML file, RectangleApplet.html, and the Java source file RectangleApplet.java.  Compile and run the applet to test it.

Modify the applet to draw a picture such as a square face.


RectangleApplet.html:

<head>
<title>Simple Applet<title>
<head>

<body>

<p>Here is a simple applet.<p>
<applet code="RectangleApplet.class" width="400" height="300">
<applet>

<body>
<html>