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.

Start.java 872B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 prfourgui;
  7. import adressverwaltung.model.AdressverwaltungModel;
  8. import controller.Controller;
  9. import prfourgui.View.AdressbuchView;
  10. /**
  11. * Builder Class
  12. * @author baumannan68085
  13. */
  14. public class Start
  15. {
  16. public Start()
  17. {
  18. AdressbuchView view = new AdressbuchView();
  19. AdressverwaltungModel model = new AdressverwaltungModel();
  20. view.getAdressTable2().getTblAdressbuch().setModel(model);
  21. Controller con = new Controller(view, model);
  22. con.registerEvents();
  23. con.registerCommands();
  24. view.setVisible(true);
  25. }
  26. /**
  27. * @param args the command line arguments
  28. */
  29. public static void main(String[] args)
  30. {
  31. new Start();
  32. }
  33. }