
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;

public class DrawVoorbeeld3 extends JFrame {

	private JButton button;
	private JPanel panel;

	public static void main(String args[]) {

		DrawVoorbeeld3 frame = new DrawVoorbeeld3();
		frame.setSize(400,400);
		frame.setDefaultCloseOperation(EXIT_ON_CLOSE);
		frame.maakGUI();
		frame.show();

	}

	public void maakGUI() {

		Container window = getContentPane();
		window.setLayout(new FlowLayout());
		
		button = new JButton("Press me");
		window.add(button);


	}
}

