diff --git a/out/production/battleship-student-project-2021/controleurs/ListenerBoutonCreate.class b/out/production/battleship-student-project-2021/controleurs/ListenerBoutonCreate.class index 17bc5d5346979be53355b20243767ef9068d8606..2e5e069dfe0649508fe004df1f7259be0098e086 100644 Binary files a/out/production/battleship-student-project-2021/controleurs/ListenerBoutonCreate.class and b/out/production/battleship-student-project-2021/controleurs/ListenerBoutonCreate.class differ diff --git a/out/production/battleship-student-project-2021/vues/MenuPartie.class b/out/production/battleship-student-project-2021/vues/MenuPartie.class index 4e4fac4367001f8b29dc5c545fae6df21f1c0d82..c228eadff8cdbf5435e0638fcfd0e22c8c6d4ee8 100644 Binary files a/out/production/battleship-student-project-2021/vues/MenuPartie.class and b/out/production/battleship-student-project-2021/vues/MenuPartie.class differ diff --git a/src/vues/MenuCreationFlotte.java b/src/vues/MenuCreationFlotte.java index b30ae86fd4aeae147d4348f13f060d5266535485..d169d152e6c8e1a1de6ce33726b40b1374b488fd 100644 --- a/src/vues/MenuCreationFlotte.java +++ b/src/vues/MenuCreationFlotte.java @@ -138,7 +138,7 @@ public class MenuCreationFlotte extends JFrame { listcoord = new ArrayList<>(); try { - if(textfront.getText().equals(textpoupe.getText()) || textpoupe.getText() == null){ + if(textfront.getText().equals(textpoupe.getText()) || textpoupe.getText().equals("")){ Coord newcoord = new Coord(textfront.getText()); listcoord.add(newcoord); System.out.println(listcoord.size());