This a animated graphics of somethin running around in a random maze.

The code can run as either an Applet or as an Application.

It features
JFrame extended class as the main GUI window
Border layout with 4 JButtons and a Canvas
Random number generator for maze layout and moving piece directions
Graphics which scale as the main window changes size/shape