2025-03-05 21:26:48 +01:00
|
|
|
import javax.swing.*;
|
2025-03-05 21:21:31 +01:00
|
|
|
|
2025-03-05 21:26:48 +01:00
|
|
|
public class MainAttente {
|
|
|
|
public static void main(String[] args) {
|
|
|
|
JFrame frame = new JFrame("Attente");
|
|
|
|
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
2025-03-05 21:21:31 +01:00
|
|
|
|
2025-03-05 21:26:48 +01:00
|
|
|
Attente panneau = new Attente();
|
|
|
|
frame.add(panneau);
|
|
|
|
frame.addWindowListener(panneau);
|
2025-03-05 21:21:31 +01:00
|
|
|
|
2025-03-05 21:26:48 +01:00
|
|
|
frame.setSize(500, 500);
|
|
|
|
frame.setLocation(500, 250);
|
|
|
|
frame.setVisible(true);
|
|
|
|
}
|
2025-03-05 21:21:31 +01:00
|
|
|
}
|