Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package grafica;
- import javax.swing.JFrame;
- public class InterfaceGrafica {
- public static void main(String args[]) {
- JFrame w = new JFrame();
- w.setTitle("JFrame - 1st Window");
- w.setSize(350,150);
- w.setLocation(50,50);
- w.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
- w.setVisible(true);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement