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 945B

12345678910111213141516171819202122232425262728293031323334353637383940
  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 adressverwaltung;
  7. import controller.CommandController;
  8. import view.MainWindow;
  9. import controller.OpenController;
  10. import model.AdressVerwaltungModel;
  11. /**
  12. *
  13. * @author PC
  14. */
  15. public class main {
  16. public main() {
  17. MainWindow mainwindow = new MainWindow();
  18. OpenController opencontroller = new OpenController(mainwindow);
  19. AdressVerwaltungModel model = new AdressVerwaltungModel();
  20. CommandController cmdController = new CommandController(mainwindow, model);
  21. mainwindow.setVisible(true);
  22. }
  23. /**
  24. * @param args the command line arguments
  25. */
  26. public static void main(String[] args) {
  27. new main();
  28. }
  29. }