update
This commit is contained in:
BIN
DEV.3.1/TP/TP4/ex1_test/build/Controlleur.class
Normal file
BIN
DEV.3.1/TP/TP4/ex1_test/build/Controlleur.class
Normal file
Binary file not shown.
BIN
DEV.3.1/TP/TP4/ex1_test/build/Fenetre.class
Normal file
BIN
DEV.3.1/TP/TP4/ex1_test/build/Fenetre.class
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 106 KiB After Width: | Height: | Size: 106 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
BIN
DEV.3.1/TP/TP4/ex1_test/res/img4.jpg
Normal file
BIN
DEV.3.1/TP/TP4/ex1_test/res/img4.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 105 KiB |
@@ -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};
|
||||
|
||||
Reference in New Issue
Block a user