CS 105 Lab 3 -- Fall 1998

This week, for the third week in a row, you will devote your time in lab to becoming familiar with the operation of software tools we will be using as the semester goes on. Your subject this week will be the Metrowerks Java Programming Environment. This is the last of the major software application we will be using in the course. So, this is the last of this series of "introductory" labs.

Because Java programming will require more background from class before we can expect you to do a lot independently, this lab will differ from the preceding weeks in that there will be no part II. All you have to do for lab this week should be completed by the end of the period (we will still give you until the usual deadline for your lab to turn your work in).

During the lab period you will construct two simple Java applets using the Metrowerks system. As you change the instructions to the computer contained within your applet, you will use the Metrowerks software to test the behavior of your applets. Once finished, we will guide you through the process of making your applets a part of a web page and then you will test them using a web browser rather than the Metrowerks application.

To simplify printing, a version of the complete instructions for this lab as a single page is also available.

If you have questions about the instructions for this lab, you are encouraged to ask them through the discussion area for this lab in the course discussion forum.

The links below will lead you to the pages describing the steps required to complete this lab.

  • Metrowerks Background
  • Getting Started
  • Writing (and Running) Your First Applet
  • Variations on a Theme
  • Tracking Mouse Movement
  • Adding an Applet to a Web Page
  • A More Useful Applet
  • Other Applet Possibilities