diff --git a/src/battleship/view/Window.java b/src/battleship/view/Window.java index a206170..0d474c2 100644 --- a/src/battleship/view/Window.java +++ b/src/battleship/view/Window.java @@ -19,7 +19,7 @@ public class Window extends View { public Window(Game game) { super(game); this.frame = new JFrame("Battleship"); - frame.setSize(largeur,hauteur); + frame.setSize(largeur+largeur/38,hauteur+hauteur/13); frame.setContentPane(new Draw()); frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); frame.setVisible(true); @@ -36,15 +36,19 @@ public class Window extends View { area.setBounds(20,10,400,20); //area.append("A B C D E F G H I J"); frame.add(area);*/ - for (int abscisse=largeur/24; abscisse