JTF > Demo Gallery > Classroom demos

Classroom Demos and Algorithm Animations

This page provides links to several Java demo programs that use the acm packages to demonstrate the workings of the JTF packages or to illustrate algorithmic processes through animation. Clicking on the thumbnail runs the program as an applet.
 
ExpressionTrace
This program illustrates expression evaluation in Java.
GObjectTrace
This program illustrates the operation of the classes in the acm.graphics package.
TableLayoutDemo
This program makes it possible to experiment with the various constraints supported by the TableLayout class.
Hanoi
This program animates the Tower of Hanoi algorithm.
SortDemo
This program illustrates the difference in efficiency between the selection sort and quicksort algorithms.