From 7b9c9da89356cae6394c02fbc3019fa0cc7380c2 Mon Sep 17 00:00:00 2001 From: CyB3RC0nN0R Date: Wed, 10 Apr 2019 08:45:00 +0200 Subject: [PATCH] Fixed resizing issue when using a custom board config --- src/dev/kske/minesweeper/Board.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/dev/kske/minesweeper/Board.java b/src/dev/kske/minesweeper/Board.java index ceeb2c2..2a45c58 100644 --- a/src/dev/kske/minesweeper/Board.java +++ b/src/dev/kske/minesweeper/Board.java @@ -90,6 +90,7 @@ public class Board extends JPanel { board[i][j] = new Tile(); initMines(); repaint(); + revalidate(); } public void reset() {