Advertisement
mainerimiina

aa.java

Sep 13th, 2013
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.46 KB | None | 0 0
  1. import javax.swing.*;
  2.  
  3. public class aa {
  4.     public static ab f;
  5.     public static int width = 800;
  6.     public static int height = 600;
  7.    
  8.     public static void main(String[] args) {
  9.         f = new ab();
  10.         f.setVisible(true);
  11.         f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  12.         f.setResizable(false);
  13.         f.setSize(width, height);
  14.         f.setTitle("2D Platform Game");
  15.         f.setLocationRelativeTo(null);
  16.        
  17.     }
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement