Skip to content

Commit

Permalink
Adjusted frame size
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Perez Villanueva authored and Christian Perez Villanueva committed Mar 28, 2017
1 parent a3eeb58 commit 3bf79ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MineSweeper/src/MainGame.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ public class MainGame {
public static void main(String[] args) {
JFrame myFrame = new JFrame("Minesweeper Game");
myFrame.setDefaultCloseOperation(JFrame.DISPOSE_ON_CLOSE);
myFrame.setLocation(500, 150);
myFrame.setSize(600, 600);
myFrame.setSize(350, 350);
myFrame.setLocationRelativeTo(null);

MineSweeperGrid myPanel = new MineSweeperGrid();
myFrame.add(myPanel);
Expand Down

0 comments on commit 3bf79ef

Please sign in to comment.