Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package missil.command;
- import java.awt.Color;
- import javax.swing.JFrame;
- import javax.swing.JTextField;
- public class PantallaFinNivel extends JFrame{
- private static final int ANCHO=1024;
- private static final int ALTO=700;
- public PantallaFinNivel(){
- this.setSize(ANCHO, ALTO);
- setBackground(Color.BLACK);
- setLocationRelativeTo(null);
- this.setVisible(true);
- this.setResizable(false);
- this.setDefaultCloseOperation(EXIT_ON_CLOSE);
- JTextField puntaje= new JTextField("Puntaje");
- puntaje.setEnabled(true);
- puntaje.setEditable(false);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement