You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Main.java 680B

123456789101112131415161718192021222324252627282930313233343536
  1. /*
  2. * To change this license header, choose License Headers in Project Properties.
  3. * To change this template file, choose Tools | Templates
  4. * and open the template in the editor.
  5. */
  6. package kontakte;
  7. import kontakte.controller.Controller;
  8. import kontakte.model.Model;
  9. import kontakte.view.View;
  10. /**
  11. * Builder Class
  12. * @author nobody
  13. */
  14. public class Main
  15. {
  16. public Main()
  17. {
  18. View v = new View();
  19. Model m = new Model();
  20. Controller c = new Controller(v, m);
  21. c.registerEvents();
  22. c.registerCommands();
  23. v.setVisible(true);
  24. }
  25. /**
  26. * @param args the command line arguments
  27. */
  28. public static void main(String[] args)
  29. {
  30. new Main();
  31. }
  32. }