Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Make a GUI Window appear
- public static void makeWindow() {
- JFrame myWindow = new JFrame();
- myWindow.setTitle("Look at me!");
- myWindow.setSize(300, 200);
- myWindow.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
- myWindow.setVisible(true);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement