Hello gabberlt. Welcome to the Java Programming Forums.

The java.lang.ArrayIndexOutOfBoundsException means that your Array Index is Out of Bounds ;)

I would look at the for loops. Try using...