first commit
This commit is contained in:
15
TP_DEV3.1/Transitions/src/galerie/app/MainCardLayout.java
Normal file
15
TP_DEV3.1/Transitions/src/galerie/app/MainCardLayout.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package galerie.app;
|
||||
|
||||
import galerie.model.ImageList;
|
||||
import galerie.view.GalleryCardLayoutFrame;
|
||||
|
||||
import javax.swing.*;
|
||||
|
||||
public class MainCardLayout {
|
||||
public static void main(String[] args) {
|
||||
SwingUtilities.invokeLater(() -> {
|
||||
ImageList model = new ImageList("img1.jpg","img2.jpg","img3.jpg","img4.jpg");
|
||||
new GalleryCardLayoutFrame(model).setVisible(true);
|
||||
});
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user