Package fr.yogourt.model

Examples of fr.yogourt.model.AbstractModel


  public static void main(String[] args) {
   
          Runnable gui = new Runnable() {
              public void run() {
            //Instanciation du mod�le
            AbstractModel model = null;
      model = new AdresseX400("");

      //Creation du controleur
      AbstractControler controler = new AdresseControleur(model);

      // Look and feel du system sur lequel est lanc� l'application
      try {
        UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
          }
      catch (Exception e) {}
     
      //creation de la fenetre
      frame = new AfficheAdrx400(controler);
      frame.setTitle("Recherche sur Service EDI");
     
      frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
     
      //ajout de la fenetre comme observer du modele
      model.addObservateur(frame);
           
              }
          };
          SwingUtilities.invokeLater(gui);
  }
View Full Code Here

TOP

Related Classes of fr.yogourt.model.AbstractModel

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.