19 lines
518 B
Java
19 lines
518 B
Java
|
import java.awt.*;
|
||
|
import javax.swing.*;
|
||
|
import java.util.*;
|
||
|
import java.io.*;
|
||
|
|
||
|
public class Changement{
|
||
|
|
||
|
ClassLoader loader = Thread.currentThread().getContextClassLoader();
|
||
|
InputStream file = loader.getResourceAsStream("Main.java");
|
||
|
InputStream file2 = loader.getResourceAsStream("Listeimage.java");
|
||
|
static public void fenetreCliquer(int LR){
|
||
|
if (LR==1){
|
||
|
Main.fenetre.pan.card.next(Main.fenetre.pan);
|
||
|
}else {
|
||
|
Main.fenetre.pan.card.previous(Main.fenetre.pan);
|
||
|
}
|
||
|
Main.fenetre.revalidate();
|
||
|
}
|
||
|
}
|