Assignment 6 for CSCI 431

The assignment is taken from the Java Lecture Notes, Introduction to Java Programming: Week 5.

  1. Write an applet that randomly places five rectangles of random sizes completely inside the visible area of the applet. Make the applet available on a web page. The web page should test the capabilities of the applet. Include a link to full source code for the applet. Hand in the source code for the applet, along with the HTML file for the applet, and the URL where the applet can be viewed.

    Before beginning you may want to view the documentation for rectangles and the math library at http://www.javasoft.com/JDK-1.0/api/java.awt.Rectangle.html and http://java.sun.com/products/jdk/1.0.2/api/java.lang.Math.html.