Arrayindexoutofbound exception comes in the picture when you are using element of the array and you have not any elements in the array. So make sure that you are having array before using it.
e.g String h = new String[1]; h[0] = 'my'; String g = new String[10]; if you try to access h[2] or g[0] you will get that exception.
Also, please explain what I am doing wrong (if you can help me), I really would like to learn from this.
It is hard to explain beyond what someone else has explained above without seeing your code. If possible, post it on pastebin and link to it.
Following is the explanation: First line means, that you have an array containing total 10 elements but you tried to access 11th [array accessed from 0] which is not available and hence "index out of boundary". From second line starts the error stack trace, which means, all the execution point where the error got propagated without being caught. Error began at Screen.java file on line 32. A function call to (draw) Screen.java was made from Menu.java on line 105. All you need to do here is following: 1. If you are using a for or while loop, make sure the limits of loop are set proper. e.g. if array length is 10, you can use it as for(int i = 0; i < array.length; i++). 2. If its direct access, then make sure either the data is coming proper OR keep a check of length of array before accessing random index out of it. Hope above explanation helps a little at least