thieumao

JFrame

Feb 19th, 2014
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.39 KB | None | 0 0
  1. package test;
  2.  
  3. import javax.swing.JFrame;
  4.  
  5. public class Shotter extends JFrame {
  6.  
  7.     public Shotter() {
  8.         setSize(600, 400);
  9.         setTitle("Game Shotter 2D ");
  10.         setResizable(false);
  11.         setVisible(true);
  12. //        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  13.     }
  14.  
  15.     public static void main(String[] args) {
  16.         Shotter shotter = new Shotter();
  17.     }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment