Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import javax.swing.*;
- import java.awt.*;
- import java.awt.event.KeyListener;
- public class LowFrame extends JFrame
- {
- public LowFrame()
- {
- LolCanvas lc = new LolCanvas();
- setTitle("ThePingPongGame");
- setSize(800,700);
- setDefaultCloseOperation(EXIT_ON_CLOSE);
- addKeyListener(lc);
- getContentPane().setBackground(Color.MAGENTA);
- add(lc);
- setVisible(true);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement