|
|
@ -1,6 +1,5 @@ |
|
|
|
package Minesweeper; |
|
|
|
|
|
|
|
import javax.swing.JButton; |
|
|
|
import javax.swing.JFrame; |
|
|
|
import javax.swing.JPanel; |
|
|
|
|
|
|
@ -18,9 +17,9 @@ public class MinesweeperGame extends JPanel { |
|
|
|
|
|
|
|
public static void main(String[] args) { |
|
|
|
JFrame f = new JFrame(); |
|
|
|
MinesweeperGame ttt = new MinesweeperGame(8, 10); |
|
|
|
MinesweeperGame MsG = new MinesweeperGame(8, 10); |
|
|
|
|
|
|
|
f.add(ttt); |
|
|
|
f.add(MsG); |
|
|
|
f.setSize(WIDTH, HEIGTH); |
|
|
|
f.setLayout(null); |
|
|
|
f.setVisible(true); |
|
|
|