|
@ -13,6 +13,10 @@ public class MinesweeperGame extends JPanel { |
|
|
this.setSize(WIDTH, HEIGTH); |
|
|
this.setSize(WIDTH, HEIGTH); |
|
|
setLayout(null); |
|
|
setLayout(null); |
|
|
playfield = new Playfield(this, _playfieldSize, _bombAmount); |
|
|
playfield = new Playfield(this, _playfieldSize, _bombAmount); |
|
|
|
|
|
TimerLable tl = new TimerLable(); |
|
|
|
|
|
tl.setBounds((WIDTH / 2 - 5), HEIGTH / 2 - 240, 20, 20); |
|
|
|
|
|
add(tl); |
|
|
|
|
|
tl.start(); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public static void main(String[] args) { |
|
|
public static void main(String[] args) { |
|
|