40 lines
885 B
Java
40 lines
885 B
Java
|
/*
|
||
|
* 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 phone;
|
||
|
|
||
|
import controller.CommandController;
|
||
|
import gui.Hauptfenster;
|
||
|
import java.text.ParseException;
|
||
|
import model.VoIP;
|
||
|
/**
|
||
|
* Builder Class
|
||
|
* @author Normal
|
||
|
*/
|
||
|
public class Start
|
||
|
{
|
||
|
public Start() throws ParseException
|
||
|
{
|
||
|
Hauptfenster view = new Hauptfenster();
|
||
|
VoIP model = new VoIP();
|
||
|
|
||
|
CommandController controller = new CommandController(model, view);
|
||
|
controller.registerEvents();
|
||
|
//view.setExtendedState(Frame.MAXIMIZED_BOTH);
|
||
|
view.setTitle("TestOberfläche VoIP Phone");
|
||
|
view.setVisible(true);
|
||
|
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* @param args the command line arguments
|
||
|
*/
|
||
|
public static void main(String[] args) throws ParseException
|
||
|
{
|
||
|
new Start();
|
||
|
}
|
||
|
}
|