public String GenerateIndividu() {

        int jum1 = 0;
        int jum2 = 0;
        int jum3 = 0;
        int i = 0;
        String ind;

        while (i < 8) {
            ind = getRandom(bahan);

            if ((ind.equals(bahan[0])) && (jum1 < 3)) {
                jum1++;
                individuRandom[i] = ind;
                i++;
            } else if ((ind.equals(bahan[1])) && (jum2 < 2)) {
                jum2++;
                individuRandom[i] = ind;
                i++;
            } else if ((ind.equals(bahan[2])) && (jum3 < 3)) {
                jum3++;
                individuRandom[i] = ind;
                i++;
            }
        }
        ind = "";
        for (int j = 0; j < individuRandom.length; j++) {

            if (j == individuRandom.length - 1) {
                ind = ind + individuRandom[j] + getRandom(garis);
            } else {
                ind = ind + individuRandom[j] + getRandom(garis) + "-";
            }
        }
        return ind;
    }