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

123456789101112131415161718192021222324252627282930313233343536373839
  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 phone;
  7. import controller.CommandController;
  8. import gui.Hauptfenster;
  9. import java.text.ParseException;
  10. import model.VoIP;
  11. /**
  12. * Builder Class
  13. * @author Normal
  14. */
  15. public class Start
  16. {
  17. public Start() throws ParseException
  18. {
  19. Hauptfenster view = new Hauptfenster();
  20. VoIP model = new VoIP();
  21. CommandController controller = new CommandController(model, view);
  22. controller.registerEvents();
  23. //view.setExtendedState(Frame.MAXIMIZED_BOTH);
  24. view.setTitle("TestOberfläche VoIP Phone");
  25. view.setVisible(true);
  26. }
  27. /**
  28. * @param args the command line arguments
  29. */
  30. public static void main(String[] args) throws ParseException
  31. {
  32. new Start();
  33. }
  34. }