/* * 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 prfourgui; import adressverwaltung.model.AdressverwaltungModel; import controller.Controller; import prfourgui.View.AdressbuchView; /** * Builder Class * @author baumannan68085 */ public class Start { public Start() { AdressbuchView view = new AdressbuchView(); AdressverwaltungModel model = new AdressverwaltungModel(); view.getAdressTable2().getTblAdressbuch().setModel(model); Controller con = new Controller(view, model); con.registerEvents(); con.registerCommands(); view.setVisible(true); } /** * @param args the command line arguments */ public static void main(String[] args) { new Start(); } }