The Diva Gui Tutorial

The directory gui/tutorial in the Diva distribution contains several classes that are designed to illustrate how to use key features of the gui infrastructure.

The following pages are an introduction to each of the programs, and designed to provide a starting point for reading the code. Small code snippets are used to illustrate, but the key reference is of course the code itself. As well as reading the source file, you can read the javadoc for the tutorial package.

The tutorial pages were written assuming that you will run each tutorial example as you read. Each page gives the name of the relevant Java class. To run that program, change to the diva/gui/tutorial directory and type:

  make ApplicationTutorial
(where ApplicationTutorial is replaced by the class you want to run).
Next: Overview