Graphic by Keith Ohlfs

CS111, Wellesley College, Fall 1997

Prelab #2
[CS111 Home Page] [Syllabus] [Students] [Lecture Notes] [Assignments] [Programs] [Documentation] [Software Installation] [FAQ] [CS Dept.] [CWIS]

CS111 Laboratory assignment 2: Prelab

To prepare for the laboratory sections on September 15 and 16, you will need to complete the following tasks.

Due Date: Beginning of your lab section on Monday, September 15 or Tuesday, September 16.

Task 1: Finding and using Applets on the web.

Surf the net to find some cool applet. You can start by looking at some of the Applet repositories listed on the CS111 documentation page. Take note of the piece of the html source document that calls the applet. Copy the applet call into your own home page. You may need to change the "codebase" item in the applet call so that it contains the full http address of the directory that contains the class file. If you are unsure of how to do this, look at the applet examples on Georgia Dome's web page. (Use "View Document Source" to see how Georgia addresses the class files in "codebase").

Task2: Adapting applets to make them your own.

Some applets have certain things that can be specified in the HTML code that will affect the behavior of the applet. These are called parameters. One example of this is in the group of Assorted Applets that can be found on the Instant Java page. Many of these applets display a string of text in an interesting way. Look through the applets at this site and pick one that manipulates text in a way that you like. Copy the html source and change it so that the applet displays your name instead of the original piece of text. Add it to your home page. Make sure you change the "codebase" parameter to give the full http address of the class file. Please pick something other than the examples on Georgia Dome's page (Coalesce) and on this page (MoveLeft).

Turning in the prelab.

Upload your index.html file that has the new html source code that calls the two applets from tasks 1 and 2 into your directory in the lab2 drop folder for cs111 on nike.