123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- /*
- * To change this license header, choose License Headers in Project Properties.
- * To change this template file, choose Tools | Templates
- * and open the template in the editor.
- */
-
- package test;
-
- import EierUhrKomponente.EierUhr;
- import javax.swing.JFrame;
- import javax.swing.JOptionPane;
- import javax.swing.UIManager;
- import javax.swing.WindowConstants;
-
- /**
- *
- * @author chris
- */
- public class Start
- {
- public Start()
- {
- JFrame frm = new JFrame();
- frm.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
-
- View view = new View();
- // Model model = new Model();
- // Controller ctrl = new Controller(view, model);
-
- view.setTitle("Test");
- view.pack();
- view.setVisible(true);
-
- }
-
- /**
- * @param args the command line arguments
- */
- public static void main(String[] args)
- {
- try
- {
- UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
- }
- catch (Exception ex)
- {
- JOptionPane.showMessageDialog(null, ex.toString());
- }
- new Start();
- }
- }
|