Commit 05cb801e authored by L.Perine's avatar L.Perine
Browse files

changement layout

parent f8df818f
...@@ -94,8 +94,8 @@ public class ChoixModePartie extends JDialog { ...@@ -94,8 +94,8 @@ public class ChoixModePartie extends JDialog {
System.out.println("erreur lors du chargement d'une image"); System.out.println("erreur lors du chargement d'une image");
e.printStackTrace(); e.printStackTrace();
} }
this.setLayout(new BorderLayout()); choix.setLayout(new BorderLayout());
choix.add(etreHost,BorderLayout.NORTH); choix.add(etreHost,BorderLayout.WEST);
choix.add(etreGuest,BorderLayout.EAST); choix.add(etreGuest,BorderLayout.EAST);
choix.add(retourChoix,BorderLayout.SOUTH); choix.add(retourChoix,BorderLayout.SOUTH);
choix.setVisible(true); choix.setVisible(true);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment