Biblioteca Java - Blame information for rev 24
Subversion Repositories:
Rev | Author | Line No. | Line |
---|---|---|---|
24 | mihai | 1 | package rectangles.move; |
2 | |||
3 | public class Main { | ||
4 | public static void main(String[] args) { | ||
5 | Window w = new Window(); | ||
6 | Rectangle r1 = new Rectangle(w, 10, 40, 1); | ||
7 | Rectangle r2 = new Rectangle(w, 10, 100, 2); | ||
8 | w.addRectangle(r1); | ||
9 | w.addRectangle(r2); | ||
10 | r1.start(); | ||
11 | r2.start(); | ||
12 | |||
13 | } | ||
14 | } |