/* * 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(); } }