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

public class Test {
	public static void main(String[] args) {
		JFrame fenetre = new JFrame();
		fenetre.setSize(300, 200);
		fenetre.setLocation(100, 100);
		fenetre.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);

		JLabel texte = new JLabel("L'alcool c'est pas bien");
		texte.setHorizontalAlignment(JLabel.CENTER);
		texte.setFont(new Font("Arial", Font.BOLD, 35));
		fenetre.setLayout(new BorderLayout());
		fenetre.add(texte, BorderLayout.CENTER);
		fenetre.setVisible(true);

	}
}