private void naytaLopetusNakyma() {
        for (int i = 0; i < soluPainikkeet.length; i++) {
            for (int j = 0; j < soluPainikkeet.length; j++) {
                JButton soluPainike = soluPainikkeet[i][j];
                Solu solu = moottori.getKentta().getSolu(i, j);
                soluPainike.setEnabled(false);
                if (solu.isMiina() && solu.getFlagi() != 1) {
                    soluPainike.setText("O");
                } else if (!solu.isMiina() && solu.getFlagi() > 0) {
                    soluPainike.setText("X");
                }
            }
        }
    }