123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
-
- package adressmanagement;
-
- import adressmanagement.controller.ControllerOpen;
- import adressmanagement.model.AdressmanagementModel;
- import adressmanagement.view.AdressmanagementView;
- import javax.swing.JOptionPane;
- import javax.swing.UIManager;
-
- /**
- *
- * @author chris
- */
- public class Start
- {
- public Start()
- {
- AdressmanagementView view = new AdressmanagementView();
- AdressmanagementModel model = new AdressmanagementModel();
-
- ControllerOpen ctrOpen = new ControllerOpen(view, model);
- ctrOpen.registerEvents();
- view.setVisible(true);
-
- }
-
- public static void main(String[] args)
- {
- try
- {
- UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
- }
- catch (Exception ex)
- {
- JOptionPane.showMessageDialog(null, ex.toString());
- }
- new Start();
- }
-
- }
|