Guest User

Untitled

a guest
Jan 20th, 2018
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. import java.awt.Color;
  2.  
  3. import javax.swing.JFrame;
  4.  
  5. public class Main {
  6. public static void main(String[] args) {
  7. JFrame obj=new JFrame();
  8. Gameplay gamePlay = new Gameplay();
  9.  
  10. obj.setBounds(10, 10, 700, 600);
  11. obj.setTitle("Breakout Ball");
  12. obj.setResizable(false);
  13. obj.setVisible(true);
  14. obj.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  15. obj.add(gamePlay);
  16. obj.setVisible(true);
  17.  
  18. }
  19.  
  20. }
Add Comment
Please, Sign In to add comment