Commit d6d821df authored by Hugo DACLON's avatar Hugo DACLON
Browse files

Version Finale +

parent f3feb835
......@@ -80,17 +80,17 @@ public class HostControleur implements ActionListener {
panelPrincipal.add(label);
panelPrincipal.add(id);
panelPrincipal.setPreferredSize(new Dimension(200,50));
attente.setContentPane(panelPrincipal);
attente.setModal(false);
attente.setContentPane(panelPrincipal);
attente.setLocation((screenWidth-200)/2, (screenHeight-50)/2);
attente.pack();
attente.setResizable(false);
attente.setAlwaysOnTop(true);
attente.setVisible(true);
attente.setVisible(false);
attente.setAlwaysOnTop(false);
attente.setResizable(false);
try {
while(Network.getInfo(appli.getServerUrl(),appli.getGame(), appli.getPlayer())!=10){
System.out.println(Network.getInfo(appli.getServerUrl(),appli.getGame(), appli.getPlayer()));
attente.setVisible(true);
}
attente.dispose();
appli.afficherPageJeu();
......
......@@ -55,7 +55,7 @@ public class Shoot implements ActionListener {
attente.setLocation((screenWidth-200)/2, (screenHeight-50)/2);
attente.pack();
attente.setResizable(false);
attente.setAlwaysOnTop(true);
attente.setAlwaysOnTop(false);
attente.setVisible(true);
try {
Coord cell = pageJeu.getTir();
......
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