BenitoDannes

uas-brickbreaker-main

Jun 6th, 2017
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.42 KB | None | 0 0
  1. import javax.swing.JFrame;
  2.  
  3. public class Main {
  4.     public static void main (String[] args)
  5.     {
  6.         JFrame obj = new JFrame();
  7.         Gameplay gamePlay = new Gameplay();
  8.        
  9.         obj.setBounds (10, 10, 700, 600);
  10.         obj.setTitle ("Vanish^2");
  11.         obj.setResizable(false);
  12.         obj.setVisible(true);
  13.         obj.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  14.         obj.add(gamePlay);
  15.     }
  16. }
Add Comment
Please, Sign In to add comment