CSC 8310: Example Applet with GUI
(Based on an example from David Matuszek)


This applet uses a simple GUI, and exemplifies the Model-View-Controller design pattern. That is, it divides the problem in three parts and assigns behaviors to each, as follows:

This clean separation should make it a lot easier for you to adapt my code to your needs.

Java source