You need to do some debugging to see what the code is doing.
See post#20


Continued at: http://www.javaprogrammingforums.com...-2d-array.html