Add live
This commit is contained in:
parent
f453154938
commit
0e1704bbcb
4 changed files with 71 additions and 21 deletions
|
@ -26,11 +26,16 @@ public class Main {
|
|||
|
||||
|
||||
gr.display();
|
||||
try {
|
||||
Thread.sleep(5000);
|
||||
} catch (InterruptedException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
while(true){
|
||||
try {
|
||||
Thread.sleep(1000);
|
||||
} catch (InterruptedException e) {
|
||||
// TODO Auto-generated catch block
|
||||
e.printStackTrace();
|
||||
}
|
||||
g.buildRandomLink();
|
||||
System.out.println("Update !");
|
||||
gr.update();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue