}
public MyFrame() { }
public static void main(String[] args) { }
MyFrame myFrame = new MyFrame(); myFrame.setTitle(\
myFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); myFrame.setSize(200,200); myFrame.setVisible(true);
Container container = this.getContentPane(); container.setLayout(new BorderLayout());
container.add(new Button(\ container.add(new Button(\