FabioMurtas

firstWindow

Oct 23rd, 2021
670
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package testfinestra;
  2. import javax.swing.*;
  3. /**
  4.  *
  5.  * @author Fabio
  6.  */
  7. public class TestFinestra {
  8.  
  9.     /**
  10.      * @param args the command line arguments
  11.      */
  12.     public static void main(String[] args) {
  13.      JFrame frame = new JFrame("La mia prima finestra");
  14.      frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
  15.      frame.setLocation(300,100);
  16.      frame.setSize(1500,800);
  17.      frame.setVisible(true);
  18.      
  19.     }
  20.    
  21. }
  22.  
RAW Paste Data