Package belotetime.core.dialog

Examples of belotetime.core.dialog.MessageBox


      TotalNbGameWon.setText(stat.getNbPartieWon() + "");
      TotalPointLabel.setText(stat.getNbPoints() + "");
      averageLabel.setText(stat.getAverage() + "");

    } catch (Exception e) {
      MessageBox m = new MessageBox("Echec", e.getMessage());
      e.printStackTrace();
      m.show();
    }

    gridPane.add(nameLabelRef, 0, 1);
    gridPane.add(nameLabel, 1, 1);
    GridPane.setMargin(nameLabel, insets);
View Full Code Here


            AccountCreationStage.this.nameTextField.getText(),
            AccountCreationStage.this.surnameTextField.getText());
        close();
      }
      catch(Exception e){
        MessageBox m = new MessageBox("Echec", e.getMessage());
        m.show();
     
      }

    }
View Full Code Here

    public void handle(Event arg0) {
      if(user != null){
        try {
          new StatisticsStage(user);
        } catch (Exception e) {
          MessageBox m = new MessageBox("Echec", "Impossible d'afficher la fen�tre de statistique");
          m.show();
        }
      }else{
        MessageBox.Show("Avertissement", "Merci de vous connecter pour effectuer cette action.");
      }
    }
View Full Code Here

    public void handle(Event arg0) {
      if(user != null){
        try {
          new StatisticsStage(user);
        } catch (Exception e) {
          MessageBox m = new MessageBox("Echec", "Impossible d'afficher la fen�tre de statistique");
          m.show();
        }
      }else{
        MessageBox.Show("Avertissement", "Merci de vous connecter pour effectuer cette action.");
      }
    }
View Full Code Here

        try {
          if (sql.getInstance().insertTeam(
              CreationTeamStage.this.teamTextField.getText(),
              CreationTeamStage.this.teammateTextField.getText(),
              CreationTeamStage.this.idS)) {
            MessageBox message = new MessageBox("Equipe Cr��",
                "F�licitation, l'�quipe "
                    + CreationTeamStage.this.teamTextField
                        .getText() + " a �t� cr�e.");
            message.showDialog();

          } else {
            MessageBox message = new MessageBox("Echec",
                "Creation Impossible");
            message.showDialog();
          }
        } catch (SQLException e) {
          MessageBox message = new MessageBox("Echec", e.getMessage());
          message.showDialog();
        }
      }
    });
    okButton.setDefaultButton(true);
    flow.getChildren().add(okButton);
View Full Code Here

TOP

Related Classes of belotetime.core.dialog.MessageBox

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.