APL/APL2.1/TP2/Sirocco.java
2022-02-07 10:53:37 +01:00

14 lines
445 B
Java

import javax.swing.*;
import java.awt.*;
public class Sirocco {
public static void main(String[] args) {
JFrame fenetre = new JFrame();
fenetre.setSize(500,300);
fenetre.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
JLabel etiquette = new JLabel("Sirocco");
etiquette.setHorizontalAlignment(JLabel.LEFT);
fenetre.add(etiquette, BorderLayout.NORTH);
fenetre.setVisible(true);
}
}