import javax.swing.*;
import java.awt.*;

public class BLayout {
    public static void main(String[] args) {
        JFrame frame = new JFrame("Gribouille");
        frame.getContentPane().setLayout(new BorderLayout());

        JButton bn = new JButton("North");
        bn.setFont(new Font("DejaVu Sans", Font.PLAIN, 100));
        // bn.setFont(new Font("Utopia", Font.BOLD, 100));
        bn.addActionListener(e -> { System.out.println("Pressed !"); });
        JButton bs = new JButton("South");
        // bs.setFont(new Font("Z003", Font.PLAIN, 100));

        frame.add(bn, BorderLayout.NORTH);
        frame.add(bs, BorderLayout.SOUTH);
        frame.add(new JButton("East"), BorderLayout.EAST);
        frame.add(new JButton("West"), BorderLayout.WEST);
        frame.add(new JButton("Center"), BorderLayout.CENTER);

        frame.setSize(800, 600);
        frame.setVisible(true);
        frame.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
    }
}
