parent
a5dc4a3a21
commit
680f087b25
Binary file not shown.
@ -1,10 +1,11 @@
|
||||
package com.demo.tank.coruse2;
|
||||
|
||||
import com.demo.tank.coruse1.TankFrame;
|
||||
|
||||
public class MainV2 {
|
||||
public static void main(String[] args){
|
||||
public static void main(String[] args) throws InterruptedException {
|
||||
TankFrame tf = new TankFrame();
|
||||
tf.repaint();
|
||||
while (true){
|
||||
Thread.sleep(50);
|
||||
tf.repaint();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in new issue