private void maakButtons() {

        int c = 0;

        for(int i = 0; i < 5; i++){
            for(int j = 0; j < 5; j++){

                if(spelData[c] == 0) {
                    blokken[c] = new JButton(new ImageIcon("src/resources/spel/1.png"));
                } else if(spelData[c] == 1) {
                    blokken[c] = new JButton(new ImageIcon("src/resources/spel/3.png"));
                } else if(spelData[c] == 2) {
                    blokken[c] = new JButton(new ImageIcon("src/resources/spel/4.png"));
                } else if(spelData[c] == 3) {
                    blokken[c] = new JButton(new ImageIcon("src/resources/spel/2.png"));
                } else if(spelData[c] == 4) {
                    blokken[c] = new JButton(new ImageIcon("src/resources/spel/5.png"));
                } else if(spelData[c] == 5) {
                    blokken[c] = new JButton(new ImageIcon("src/resources/spel/6.png"));
                } else if(spelData[c] == 6) {
                    blokken[c] = new JButton(new ImageIcon("src/resources/spel/7.png"));
                }

                blokken[c].setBounds(130 + (j*57), 148 + (i*57), 57, 57);
                blokken[c].setBorder(null);
                blokken[c].addMouseListener(this);

                String naam = "" + c;

                blokken[c].setName(naam);
                c++;
            }
        }
    }