CS 680
Spring, 2003
Ethan Bolker
hw1 - GUI programming

Due: Monday, February 3, 4 PM (in class).

This is a warmup exercise to introduce you to GUI programming - how to construct a display (GUI syntax - the composite design pattern) and how to program window actions (GUI semantics - the observer design pattern). We'll also gently introduce UML.

The relevant material is covered in Jia (Sections 2.2, 2.3.1, 8.3, 9.1 and 9.2).

Here's a partial solution.

Turn in You may draw UML diagrams neatly by hand if you wish (there are tools that will draw the boxes and arrows but you can waste a lot of time tinkering with them...) Don't submit copies of .java files that you did not change. If you made just a few changes in a file, please highlight the changes so that I don't have to reread lots of Jia's code.

If you can, make screen captures showing your new GUI.

Leave source code in a hw1 subdirectory of your cs680 course directory. Do not alter any permissions.


Back to the CS680 home page.