This applet generates all possible permutations of a specified size.
Type in the size in at the top, and then hit the "Permute" button".
The source code is available here:
A version of this applet using the native VM is available here.
email@example.com | http://alife.co.uk/