Examples of showMessageDialog()


Examples of javax.swing.JOptionPane.showMessageDialog()

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

Examples of javax.swing.JOptionPane.showMessageDialog()

    // Clic sur le bouton "Ajouter genre"
    if(event.getActionCommand() == AJOUTER_GENRE){
     
      if(_pnl.get_cbxGenreFilm().getSelectedItem().toString() == "**-**"){
       
        info.showMessageDialog(_pnl, "Il ne s'agit pas d'un genre", ".:: Ajout d'un genre ::.", info.ERROR_MESSAGE);
      }
     
      if(!genreDejaAjoute(_pnl.get_cbxGenreFilm().getSelectedItem().toString())){
        _pnl.get_lstGenres().add(_pnl.get_cbxGenreFilm().getSelectedItem().toString());
      }
View Full Code Here

Examples of javax.swing.JOptionPane.showMessageDialog()

      }
     
      if(!genreDejaAjoute(_pnl.get_cbxGenreFilm().getSelectedItem().toString())){
        _pnl.get_lstGenres().add(_pnl.get_cbxGenreFilm().getSelectedItem().toString());
      }
      else info.showMessageDialog(_pnl, "Ce genre a deja� ete ajoute pour ce film !", ".:: Ajout d'un genre ::.", info.ERROR_MESSAGE);
     
    }
   
   
    // Clic sur le bouton "Supprimer genre"
View Full Code Here

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

Examples of javax.swing.JOptionPane.showMessageDialog()

      _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

Examples of javax.swing.JOptionPane.showMessageDialog()

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

Examples of javax.swing.JOptionPane.showMessageDialog()

          clock.watek.start();

        } else {

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

        }

      }
View Full Code Here

Examples of javax.swing.JOptionPane.showMessageDialog()

    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

Examples of javax.swing.JOptionPane.showMessageDialog()

    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

Examples of javax.swing.JOptionPane.showMessageDialog()

  }
 
  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
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.