Advertisement
FabioMurtas

firstWindow

Oct 23rd, 2021
888
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.45 KB | None | 0 0
  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.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement