orga
This commit is contained in:
parent
0d553d9bfd
commit
4bbe6fa08a
5
DEV3.1/Transitions/Galerie/Makefile
Normal file
5
DEV3.1/Transitions/Galerie/Makefile
Normal file
@ -0,0 +1,5 @@
|
||||
make :
|
||||
javac -d build -cp build -sourcepath src src/fr/iutfbleau/but2/projet/galerie.java src/fr/iutfbleau//but
|
||||
2/projet/fenetre.java
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 141 KiB After Width: | Height: | Size: 141 KiB |
Before Width: | Height: | Size: 127 KiB After Width: | Height: | Size: 127 KiB |
Before Width: | Height: | Size: 128 KiB After Width: | Height: | Size: 128 KiB |
@ -1,14 +1,16 @@
|
||||
package fr.iutfbleau.but2.projet;
|
||||
import java.net.URL;
|
||||
import java.awt.CardLayout;
|
||||
import java.awt.BorderLayout;
|
||||
import java.awt.event.MouseEvent;
|
||||
import java.awt.event.MouseListener;
|
||||
|
||||
import javax.swing.*;
|
||||
|
||||
public class fenetre extends JFrame implements MouseListener{
|
||||
|
||||
int imgN = 0;
|
||||
String[] imgs = {"DEV3.1/Transitions/0495Snivy.png","DEV3.1/Transitions/0498Tepig.png","DEV3.1/Transitions/0501Oshawott.png"};
|
||||
ClassLoader loader = Thread.currentThread().getContextClassLoader();
|
||||
URL[] imgs = {loader.getResource("res/0495Snivy.png"),loader.getResource("res/0498Tepig.png"),loader.getResource("res/0501Oshawott.png")};
|
||||
|
||||
public fenetre()
|
||||
{
|
@ -1,3 +1,5 @@
|
||||
package fr.iutfbleau.but2.projet;
|
||||
|
||||
public class galerie {
|
||||
public static void main(String[] args) {
|
||||
fenetre boum = new fenetre();
|
BIN
projet.jar
Normal file
BIN
projet.jar
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user