big update

This commit is contained in:
EmmanuelTiamzon
2025-10-08 16:39:06 +02:00
parent da05a19bd9
commit 1e25b6a3ae
36 changed files with 222 additions and 93 deletions

View File

@@ -0,0 +1,19 @@
import java.awt.*;
import javax.swing.*;
public class GFenetre extends JFrame {
public GFenetre() {
super("Galerie");
this.setSize(1000, 600);
this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
this.setLayout(new GridLayout(1,1));
JLabel imgJLabel = new JLabel(new ImageIcon("MICHEL.gif"));
this.add(imgJLabel, BorderLayout.CENTER);
this.add(imgJLabel);
this.addMouseListener(new GestionSouris(imgJLabel ,this));
}
}