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

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 chatprogramm;
  7. import chatprogramm.controller.ConnectController;
  8. import chatprogramm.controller.ReceiveAdapterController;
  9. import chatprogramm.controller.SendController;
  10. import chatprogramm.model.Transmitter;
  11. import chatprogramm.view.ChatView;
  12. /**
  13. * Builder Class
  14. * @author le
  15. */
  16. public class Start
  17. {
  18. public Start()
  19. {
  20. ChatView view = new ChatView();
  21. Transmitter model = new Transmitter();
  22. ConnectController conCon = new ConnectController(view, model);
  23. ReceiveAdapterController reiAdapCon = new ReceiveAdapterController(view, model);
  24. SendController sendCon = new SendController(view, model);
  25. view.setVisible(true);
  26. }
  27. /**
  28. * @param args the command line arguments
  29. */
  30. public static void main(String[] args)
  31. {
  32. new Start();
  33. }
  34. }