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

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 subscriber;
  7. import javax.swing.JOptionPane;
  8. import javax.swing.UIManager;
  9. /**
  10. * Builder Class
  11. * @author le
  12. */
  13. public class Start
  14. {
  15. public Start()
  16. {
  17. Datenmodell3 model = new Datenmodell3();
  18. SubscriberView view = new SubscriberView();
  19. StartStopController controller = new StartStopController(view, model);
  20. WertAdapter wAdapter = new WertAdapter(view, model);
  21. controller.registerEvents();
  22. wAdapter.einschreiben();
  23. view.setVisible(true);
  24. }
  25. /**
  26. * @param args the command line arguments
  27. */
  28. public static void main(String[] args)
  29. {
  30. try
  31. {
  32. UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
  33. }
  34. catch (Exception ex)
  35. {
  36. JOptionPane.showMessageDialog(null, ex.toString());
  37. }
  38. new Start();
  39. }
  40. }