resources_for_peek-a-boo
Differences
This shows you the differences between two versions of the page.
Next revisionBoth sides next revision | |||
resources_for_peek-a-boo [2022/05/09 12:53] – created frchris | resources_for_peek-a-boo [2022/05/09 12:54] – frchris | ||
---|---|---|---|
Line 15: | Line 15: | ||
public class PeekABoo extends JPanel implements KeyListener, | public class PeekABoo extends JPanel implements KeyListener, | ||
{ | { | ||
- | public static int WIDTH=800; | + | public static int WIDTH=1200; |
public static int HEIGHT=600; | public static int HEIGHT=600; | ||
private Font titleFont, bigFont; | private Font titleFont, bigFont; | ||
Line 33: | Line 33: | ||
timer1 = new Timer(1000, this); //1000=1 seconds | timer1 = new Timer(1000, this); //1000=1 seconds | ||
- | timer2 = new Timer(2000, this); //1000=1 seconds | + | timer2 = new Timer(3000, this); //1000=1 seconds |
timer1.start(); | timer1.start(); | ||
timer2.start(); | timer2.start(); |
resources_for_peek-a-boo.txt · Last modified: 2022/05/23 16:43 by frchris