Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import javax.swing.JFrame;
- public class Pong extends JFrame {
- private static final long serialVersionUID = 3778864206257829821L;
- public Pong() {
- add(new Board());
- setTitle("Pong");
- setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
- setSize(680, 510);
- setVisible(true);
- setResizable(false);
- setLocation(5, 5);
- }
- public static void main(String[] args) {
- new Pong();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement