Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import javax.swing.*;
- public class aa {
- public static ab f;
- public static int width = 800;
- public static int height = 600;
- public static void main(String[] args) {
- f = new ab();
- f.setVisible(true);
- f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
- f.setResizable(false);
- f.setSize(width, height);
- f.setTitle("2D Platform Game");
- f.setLocationRelativeTo(null);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement