Biblioteca Java - Rev 32
Subversion Repositories:
(root)/Courses and labs samples/ISP/Exemple_ISP_Cluj_2015/ElevatorCurs/src/elevatorcurs/ElevatorApp.java @ 36
/*
* 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 elevatorcurs;
import elevatorcurs.model.*;
import elevatorcurs.ui.*;
/**
*
* @author Mihai Hulea mihai.hulea@aut.utcluj.ro
*/
public class ElevatorApp {
public static void main(String[] args) {
Elevator e = new Elevator();
Controller c = new Controller(e);
Simulator s = new Simulator(c, e);
ElevatorUI ui = new ElevatorUI();
ElevatorMVCController mvcCtrl = new ElevatorMVCController(e, ui ,c);
// c.addJob(new Job(2));
s.simulate();
}
}
* 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 elevatorcurs;
import elevatorcurs.model.*;
import elevatorcurs.ui.*;
/**
*
* @author Mihai Hulea mihai.hulea@aut.utcluj.ro
*/
public class ElevatorApp {
public static void main(String[] args) {
Elevator e = new Elevator();
Controller c = new Controller(e);
Simulator s = new Simulator(c, e);
ElevatorUI ui = new ElevatorUI();
ElevatorMVCController mvcCtrl = new ElevatorMVCController(e, ui ,c);
// c.addJob(new Job(2));
s.simulate();
}
}