|
@ -18,7 +18,7 @@ public class MinesweeperGame extends JPanel { |
|
|
|
|
|
|
|
|
public static void main(String[] args) { |
|
|
public static void main(String[] args) { |
|
|
JFrame f = new JFrame(); |
|
|
JFrame f = new JFrame(); |
|
|
MinesweeperGame ttt = new MinesweeperGame(3, 0); |
|
|
|
|
|
|
|
|
MinesweeperGame ttt = new MinesweeperGame(8, 10); |
|
|
|
|
|
|
|
|
f.add(ttt); |
|
|
f.add(ttt); |
|
|
f.setSize(WIDTH, HEIGTH); |
|
|
f.setSize(WIDTH, HEIGTH); |
|
|