Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import java.awt.*;
- import javax.swing.*;
- import java.util.*;
- public class Fenetre extends JFrame
- {
- public Fenetre()
- {
- this.setLocation((int)Math.random() * ( 1920 - 0 ), (int)Math.random() * ( 1080 - 0 ));
- this.setSize(500, 500);
- this.setTitle("How to crash");
- this.setVisible(true);
- new Fenetre();
- }
- public static void main(String[] args)
- {
- new Fenetre();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement