Excerpt from Description of Exercise

Objective: To demonstrate the use of the lab computers, Java and graphics primitives.

This lab will introduce you to the tools with which you will be working this semester. Your task is to construct a Java program that draws an image resembling a roadside warning sign, but with a message more appropriate for a computer screen, as shown below.

First you will need to determine the Java commands required to draw such a picture. Then you will write a Java program that draws and modifies the picture in simple ways in response to actions the user performs with the mouse.

Handouts Describing the Exercise

Student Resources for Lab Exercise

Sample solutions