Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import javax.swing.JFrame;
- import java.awt.Component;
- public class Tester extends JFrame
- {
- private static final int WIDTH = 800;
- private static final int HEIGHT = 600;
- public Tester()
- {
- super("PONG TESTER");
- setSize(WIDTH,HEIGHT);
- getContentPane().add(new BlockTestTwo());
- //uncomment when you are ready to test the Ball
- getContentPane().add(new BallTestTwo());
- //PaddleTestTwo padTest = new PaddleTestTwo();
- //((Component)padTest).setFocusable(true);
- //getContentPane().add(padTest);
- setVisible(true);
- }
- public static void main( String args[] )
- {
- Tester run = new Tester();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement