Package javax.swing

Examples of javax.swing.JOptionPane.showMessageDialog()


        _pnl.get_lblResultat().setForeground(Color.GREEN);
        _pnl.get_lblResultat().setText("-");
        _pnl.get_lstGenres().remove(_pnl.get_lstGenres().getSelectedItem());
     
      }
      else info.showMessageDialog(_pnl, "Veuillez selectionner un genre a supprimer !", ".:: Suppression d'un genre ::.", info.ERROR_MESSAGE);
     
    }
   
   
    // Clic sur le bouton "Ajouter film"
View Full Code Here


      _mod.ajouterFilm(titre, lstGenres, realisateur, lstActeurs);
         
    }
    catch (DataFormatException dataFExcept){
     
      info.showMessageDialog(_pnl, dataFExcept.getMessage(), ".:: Ajouter un film ::.", info.ERROR_MESSAGE);
 
    } catch (SQLException e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
View Full Code Here

       
      }
     
    } catch (DataFormatException e) {
     
      info.showMessageDialog(_pnl, e.getMessage(), ".:: Ajout d'un acteur ::.", info.ERROR_MESSAGE);
     
    }
   
    return lstActeurs;
  }
View Full Code Here

          clock.watek.start();

        } else {

          JOptionPane op = new JOptionPane();
          op.showMessageDialog(null, "Brak zaakceptowanych ustawien",
              "Blad", JOptionPane.ERROR_MESSAGE);

        }

      }
View Full Code Here

    else
    {
      if (stepMode)
      {
        JOptionPane optionPane = new JOptionPane();
        optionPane.showMessageDialog(this, msg, "TestTool Notification", JOptionPane.INFORMATION_MESSAGE);
      }
      else
      {
        Object[] options = { "OK", "Go back to step mode" };
        if (1 == JOptionPane.showOptionDialog(this, msg, "TestTool Notification",
View Full Code Here

    else
    {
      if (stepMode)
      {
        JOptionPane optionPane = new JOptionPane();
        optionPane.showMessageDialog(this, msg, "TestTool Notification", JOptionPane.INFORMATION_MESSAGE);
      }
      else
      {
        Object[] options = { "OK", "Go back to step mode" };
        if (1 == JOptionPane.showOptionDialog(this, msg, "TestTool Notification",
View Full Code Here

  }
 
  public void informarError()
  {
    JOptionPane mensaje = new JOptionPane();
    mensaje.showMessageDialog(null, "El Lanzamiento excede los limites", "Error de Lanzamiento", JOptionPane.ERROR_MESSAGE)
  }

  public JLabel getJldatoTVuelo() {
    return jldatoTVuelo;
  }
View Full Code Here

  }
 
  public void informarError()
  {
    JOptionPane mensaje = new JOptionPane();
    mensaje.showMessageDialog(null, "El Lanzamiento excede los limites", "Error de Lanzamiento", JOptionPane.ERROR_MESSAGE)
  }

  public JLabel getJldatoTVuelo() {
    return jldatoTVuelo;
  }
View Full Code Here

  }
 
  public void informarError()
  {
    JOptionPane mensaje = new JOptionPane();
    mensaje.showMessageDialog(null, "El Lanzamiento excede los limites", "Error de Lanzamiento", JOptionPane.ERROR_MESSAGE)
  }

  public JLabel getJldatoTVuelo() {
    return jldatoTVuelo;
  }
View Full Code Here

   
    t1.start();
   
    JOptionPane jop = new JOptionPane(), jop2 = new JOptionPane();
    String nom = jop.showInputDialog(null, "Votre pseudo svp !", "Votre pseudo !", JOptionPane.QUESTION_MESSAGE);
    jop2.showMessageDialog(null, "Bienvenue " + nom, "Identit�", JOptionPane.INFORMATION_MESSAGE);
    ConfigEnvironnement.getInstance().setPseudo(nom);

   
 
   
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.