Static Public Member Functions | |
| static void | main (String[] args) throws Exception |
Definition at line 23 of file ExempleEvent2.java.
| static void ExempleEvent2::main | ( | String[] | args | ) | throws Exception [inline, static] |
Definition at line 26 of file ExempleEvent2.java.
00028 { 00029 char c; 00030 Thread thread = new LoopEvent(); 00031 thread.start(); 00032 00033 00034 00035 while (System.in.read()!='q') 00036 { 00037 try 00038 { 00039 Thread.sleep( 1 ); 00040 } 00041 catch ( InterruptedException e ) 00042 { 00043 } 00044 00045 } 00046 thread.stop(); 00047 }
1.5.1