Homework #5: Action handling

For this homework, you will create a simple application to exercise the Java Action interface and Swing toolbars, menus, and buttons.

The requirements for the application are as follows:

This is an easy assignment. Rather than just getting something working, you should concentrate on delivering the simplest, most elegant, most object-oriented solution possible. One characteristic of a good solution would be how easy it would be to add another animation (or ten animations) to the application. Could you do it by adding only one new class (or ten new classes)? What other method(s) would have to change?

Hint: You've seen most of this stuff before, in homework #3, homework #4, and the examples code in class.

Due date: The homework is due at the beginning of class on 14 October.

Turn in: (1) A listing of the source file(s) for the application. (2) A screen dump of each animation in action. (3) The javadoc output for the application.

E-mail: A Zip or tar archive file containing all of your source files (including package.html) to grading@bozoid.com. The subject of the e-mail should be "ActionTest05", and the archive name should be hw05.zip or hw05.tar.gz. In addition to your source files, the archive file should include a text file named readme.txt containing your name and any other identifying information you think is appropriate. Do not include .class files, javadoc files, or screen dumps in the e-mail.

Note: Staple all the pages of your submission together, and make sure you put your name on your homework!