Maze is a sample Java applet that creates and then solves a maze. The solution it's looking for is a path from the upper left to the lower right. Creating the maze is probably the most interesting part. The applet is customizable using various parameters. This page shows two versions, created using different sizes and parameter values.
Click here to see the source code for this applet. This applet is configurable with a number of parameters. See the source for details.
You can find more of my Java work at http://math.hws.edu/xJava/.