|
|
|
|
|
|
|
|
/*
|
|
|
|
|
|
* 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 adressverwaltung;
|
|
|
|
|
|
import controller.CommandController;
|
|
|
|
|
|
import view.MainWindow;
|
|
|
|
|
|
import controller.OpenController;
|
|
|
|
|
|
import model.AdressVerwaltungModel;
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
*
|
|
|
|
|
|
* @author PC
|
|
|
|
|
|
*/
|
|
|
|
|
|
public class main {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public main() {
|
|
|
|
|
|
MainWindow mainwindow = new MainWindow();
|
|
|
|
|
|
OpenController opencontroller = new OpenController(mainwindow);
|
|
|
|
|
|
AdressVerwaltungModel model = new AdressVerwaltungModel();
|
|
|
|
|
|
CommandController cmdController = new CommandController(mainwindow, model);
|
|
|
|
|
|
|
|
|
|
|
|
mainwindow.setVisible(true);
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
|
* @param args the command line arguments
|
|
|
|
|
|
*/
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
|
new main();
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|