I'm getting a NullPointer exception when I try to add an array of JLabels to my panel.
the error happens in the last line of the inner loop
Panel panneauScore;
Panel panneaujouonsAuGolf;
Label [][] arrayscore = new Label [4][9];
for (int c = 0; c<arrayscore.length; c++){
        for (int p = 0; p<arrayscore[c].length; p++){
            score1 = Choisirrandom();
            nombre[c][p] = score1; 
            arrayscore[c][p]= new Label(String.valueOf(nombre[c][p]));
            panneauScore.add(arrayscore[c][p]);
        }
    }
