Biblioteca Java - Blame information for rev 27
Subversion Repositories:
Rev | Author | Line No. | Line |
---|---|---|---|
27 | mihai | 1 | package ex1_airport; |
2 | public class Main1 { | ||
3 | |||
4 | private static void nap(int millisecs) { | ||
5 | try { | ||
6 | Thread.sleep(millisecs); | ||
7 | } catch (InterruptedException e) { | ||
8 | System.err.println(e.getMessage()); | ||
9 | } | ||
10 | } | ||
11 | |||
12 | |||
13 | public static void main(String [] args) { | ||
14 | |||
15 | HWDisplay d = new JDisplay(); | ||
16 | |||
17 | d.write(5,2,'A'); | ||
18 | d.write(8,11,'B'); | ||
19 | nap(3000); | ||
20 | d.write(5,2,' '); | ||
21 | |||
22 | } | ||
23 | } |