Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package test;
- import javax.swing.JFrame;
- public class Shotter extends JFrame {
- public Shotter() {
- setSize(600, 400);
- setTitle("Game Shotter 2D ");
- setResizable(false);
- setVisible(true);
- // setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
- }
- public static void main(String[] args) {
- Shotter shotter = new Shotter();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment