Files
DEV/DEV.2.1/TP/TP13-Flux-caractere/2./Fenetre.java

12 lines
278 B
Java
Raw Normal View History

2025-09-30 09:43:41 +02:00
import java.awt.*;
import javax.swing.*;
public class Fenetre extends JFrame {
public Fenetre() {
2025-09-30 09:43:41 +02:00
this.setSize(32, 35);
this.setLocation(100, 100);
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
2025-09-30 09:43:41 +02:00
this.setLayout(new GridLayout(1, 1));
this.add(new Image());
}
}