Java demo

The applet below is an attempt to write a shift puzzle program. The idea is to shift the tiles back to their places. Click on a tile to shift it towards the empty spot. Click over the image to start.