u are accessing an array of object that is not created for example
//error codes
private String strArray tags[] = new String [10]
for (int i=0; i<=10; i++){
strArray[i] = new String();
strArray[i] = i.toString();
}
/**For example, u are accessing 10 which does not exist as it ended at 9,
and so out of bounds occurs..
it went out of bounds as the end is 9 and u are assigning something to a memory that does not exists(10)
*/
//right code
private String strArray tags[] = new String [10]
for (int i=0; i<10 i++){
strArray[i] = new String();
strArray[i] = i.toString();
}
> For Mr. Alander
>My question is for the topic owner. ^_^
Why would you need to know the JRE and OS being used? An ArrayIndexOutOfBounds has no relation to those things..
@OP: Use the answer provided by alander. Somewhere in your GUI code there is a one-off loop.
~Tim