CSE 160
Lab 1
Wednesday, Feb 4, 2009

Software: Decide where you will do the BlueJ assignments: the CS Translabs, a SINC site, or your own PC.  If your own PC (which is what I recommend) install the Java SDK (version 1.5 or higher, from the textbpook CD or from Sun's website) and BlueJ (latest version, from the textbook CD or from the BlueJ website). The TransLab and SINC sites already should have the software installed.

Reading:
Get the Objects First text (preferably the 4th edition) and read chapter 1.  Work along with it using BlueJ.

Lab 1: In the lab on wednesday morning: Make sure you can run BlueJ in the lab room, and open the sample chapter examples.  Study the BlueJ Shapes example and Picture example, demonstrated in class.  Using the Picture example as a start, add to it a Donut class that has a draw() method, which generates a picture that looks like a green donut on a black background.  Show it to the TA and get checked off.  (You don't have to hand in anything this week.)