SHARE
TWEET

Untitled

a guest Sep 19th, 2019 93 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package ui;
  2.  
  3. import javax.swing.JFrame;
  4.  
  5. public class MiFrame extends JFrame {
  6.  
  7.     public MiFrame(String titulo) {
  8.         super(titulo);
  9.         initUI();
  10.     }
  11.  
  12.     private void initUI() {
  13.         setSize(600, 400);
  14.         setLocationRelativeTo(null);
  15.         setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  16.     }
  17. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top