SetLayout Funktion main Zweck

 public void init_numSolvers() {
    for (x = 0; x < 9; x++) {
        n++;
        num[x] = new Button("" + n);
        add(num[x]);
        num[x].setBounds(num_x, num_y, 40, 40);
        setLayout(null);
        num_x += 40;
    }

warum setBounds () - Funktion funktioniert nicht ohne setLayout(null) ich will nur verstehen, der Hauptzweck der setLayout(null) - Funktion

InformationsquelleAutor Ahmed Nabil | 2015-06-19
Schreibe einen Kommentar