Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import javax.swing.JFrame;
- public class Main {
- public static void main (String[] args)
- {
- JFrame obj = new JFrame();
- Gameplay gamePlay = new Gameplay();
- obj.setBounds (10, 10, 700, 600);
- obj.setTitle ("Vanish^2");
- obj.setResizable(false);
- obj.setVisible(true);
- obj.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
- obj.add(gamePlay);
- }
- }
Add Comment
Please, Sign In to add comment