Another java.lang.arrayIndexOutOfBoundsException
Hej Guys,

I'm sorry, to bother you with an other ArrayIndexOutOfBoundsException Problem. I know what it means and how to get rid of it... normally. But I've been trying to fix this for some hours now and I'll need to have the problem solve until tomorrow. So if anyone could help me I'll be very thankful. 

	for (int i = 1; i <= framesX.length; i++) {
			for (int j = 1; j <= framesY.length; j++) {
				double betrag = Math.abs(framesX[i - 1] - framesY[j - 1]);
				double min = Math.min(accDistance[i - 1][j - 1], Math.min(
						accDistance[i - 1][j], accDistance[i][j - 1]));
				accDistance[i][j] = betrag + min;
			}
		}

Thanks a lot.
Nina

Another java.lang.arrayIndexOutOfBoundsException
===

Hej Guys,

I'm sorry, to bother you with an other ArrayIndexOutOfBoundsException Problem. I know what it means and how to get rid of it... normally. But I've been trying to fix this for some hours now and I'll need to have the problem solve until tomorrow. So if anyone could help me I'll be very thankful. 

	for (int i = 1; i <= framesX.length; i++) {
			for (int j = 1; j <= framesY.length; j++) {
				double betrag = Math.abs(framesX[i - 1] - framesY[j - 1]);
				double min = Math.min(accDistance[i - 1][j - 1], Math.min(
						accDistance[i - 1][j], accDistance[i][j - 1]));
				accDistance[i][j] = betrag + min;
			}
		}

Thanks a lot.
Nina
