Biblioteca Java - Blame information for rev 3
Subversion Repositories:
Rev | Author | Line No. | Line |
---|---|---|---|
3 | mihai | 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 designpatterns.mvc.gara; | ||
7 | |||
8 | import java.util.logging.Level; | ||
9 | import java.util.logging.Logger; | ||
10 | |||
11 | /** | ||
12 | * | ||
13 | * @author evo2 | ||
14 | */ | ||
15 | public class ExempluMVC { | ||
16 | |||
17 | /** | ||
18 | * @param args the command line arguments | ||
19 | */ | ||
20 | public static void main(String[] args) { | ||
21 | Gara cluj = new Gara(); | ||
22 | GaraControler controler = new GaraControler(cluj); | ||
23 | |||
24 | for(int i=0;i<60;i++){ | ||
25 | controler.adaugaTren("TREN "+i); | ||
26 | try {Thread.sleep(1000);} catch (InterruptedException ex) {} | ||
27 | } | ||
28 | } | ||
29 | |||
30 | } |