To prepare for this lab, you should first carefully read the handout I have prepared describing the drawing primitives and user interface components relevant to the completion of this applet. As mentioned above, this documentation is available on-line and will be available in printed form during the lab.
Next, be sure to read completely through this handout and do your best to sketch out the Java code you will type in during lab. The more you think the details through ahead of time, the better prepared you will be to get everything completed during lab while we are around to help you if you get into trouble. Putting in the time before lab can save you a lot of time trying to finish things off on your own after lab.
Since we will be working with MetroWerks again this week, we will again have to deal with the incompatibility of MetroWerks with CS bull and/or PC formatted floppy disks. So, before you come to lab, either make sure you know your Netware account (and have logged off from that account if you have a machine in your room) or find a Macintosh formatted floppy disk (or a floppy with nothing important on it so that we can reformat it at the beginning of lab).
Once you get to lab, connect to your Netware account or insert and if necessary format your floppy disk. (From now on, I'll just say "your disk" to refer to either you Netware account or your floppy disk.) Then, go to the "CS 105" folder on Cider Press and copy the "ColorMixerStarter" folder to your disk. Open the folder and double-click on the "ColorMixer" project file to start MetroWerks. Once MetroWerks is running, double-click on the name "ColorMixer.java" to prepare to add your code.
You will notice that unlike last week's "starter" applets, the ".java" file in "ColorMixerStarter" does not contain skeletal definitions for many event handling methods. You will need to add your own method declarations as necessary this week. You will also need to add variable declarations so that you can associate names with components your applet will manipulate.