It would be much easier for us if you could post a small example (with just two classes and a get method etc, chances are you will work it out writing it, and we wont have to trawl through hundreds of lines of code)
I belive your problem is with that you seem to be making things static - is this intentional? Do you want the array to be static? I'm not sure when
private double[][] residuescores = MatchApplet.getMyDouble();
is called, as its not static, and I have never seen anything assigned an instance/variable out of a method body if its not static! But the compiler is not complaining - i guess its doing the method before you have set the static
static double[][] myDouble = new double[1000][1000]; to be anything at all, so its going to be empty... I would hold an instance of MatchApplet, and call myMatchAppletInstance.getMyDouble() where getMyDouble() is not static, and neither is myDouble.
Use indentation properly - it makes things alot clearer, also what is this doing??
score[res1][res2] = score[res2][res1]
= score[res1][res2+32] = score[res2+32][res1]
= score[res1+32][res2] = score[res2][res1+32]
= score[res1+32][res2+32] = score[res2+32][res1+32]
= residuescores[i][j];
its identical to:
score[res1][res2] = residuescores[i][j]