Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Fel486
- import javax.swing.JFrame; // Importing JFrame
- public static JFrame janela = new JFrame("");
- public static final int WIDTH = 500;
- public static final int HEIGHT = 500;
- public static void main(String[] args)
- {
- janela.setSize(WIDTH, HEIGHT);
- janela.setVisible(true);
- janela.setResizable(false);
- janela.setLocationRelativeTo(null);
- janela.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement