import javax.swing.*;
import java.awt.*;
public class Main {
public static void main(String[] args) {
JFrame frame = new JFrame("Episode 2");
frame.setLocation(400,400);
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
//Get a variable reference of the content pane, the main container of components in your window
Container content = frame.getContentPane();
//Make a button component
JButton helloButton = new JButton("hello man");
JButton imCoolButton = new JButton("Im Cool");
//Add the button to the content pane
content.add(helloButton);
content.add(imCoolButton);
//Auto-sizes it for us, based on the components we add
frame.pack();
//Dont forget this like I just did
frame.setVisible(true);
//episode 2 done lil boi(or gurl)
}
}