/* * 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 kontakte; import kontakte.controller.Controller; import kontakte.model.Model; import kontakte.view.View; /** * Builder Class * @author nobody */ public class Main { public Main() { View v = new View(); Model m = new Model(); Controller c = new Controller(v, m); c.registerEvents(); c.registerCommands(); v.setVisible(true); } /** * @param args the command line arguments */ public static void main(String[] args) { new Main(); } }