Planks puzzle

A Java applet inspired by Andrea, feedback welcome.