|
|
@ -41,13 +41,13 @@ public class GameField extends JPanel { |
|
|
|
|
|
|
|
int gapi = 0, gapj = 0; |
|
|
|
|
|
|
|
for (int i = 0; i < nrOfFields; i++) { |
|
|
|
for (int i = 0, addI = 1; i < nrOfFields; i++) { |
|
|
|
|
|
|
|
gameField[i] = new JPanel[nrOfFields]; |
|
|
|
labelField[i] = new JLabel[nrOfFields]; |
|
|
|
noteField[i] = new Notes[nrOfFields]; |
|
|
|
|
|
|
|
for (int j = 0; j < nrOfFields; j++) { |
|
|
|
for (int j = 0, addJ = 1; j < nrOfFields; j++) { |
|
|
|
|
|
|
|
gameField[i][j] = new JPanel(); |
|
|
|
gameField[i][j].setBorder(new LineBorder(Color.BLACK, 2)); |
|
|
|