This commit is contained in:
EmmanuelTiamzon
2025-10-13 13:08:06 +02:00
parent 1e25b6a3ae
commit 84332c8c08
11 changed files with 22 additions and 3 deletions

View File

@@ -11,9 +11,9 @@ public class Fenetre extends JFrame {
CardLayout layout = new CardLayout();
this.setLayout(layout);
JLabel img1 = new JLabel(new ImageIcon("img1.jpg"));
JLabel img2 = new JLabel(new ImageIcon("img2.jpg"));
JLabel img3 = new JLabel(new ImageIcon("img3.jpg"));
JLabel img1 = new JLabel(new ImageIcon("../res/MICHEL.gif"));
JLabel img2 = new JLabel(new ImageIcon("img2.jpeg"));
JLabel img3 = new JLabel(new ImageIcon("img3.jpeg"));
JLabel img4 = new JLabel(new ImageIcon("img4.jpg"));
JLabel[] tableau = {img1, img2, img3, img4};