Ajout des travaux effectuer
This commit is contained in:
17
23DEV1.1/TPS2/TP01/controle/Manie/Manie.java
Normal file
17
23DEV1.1/TPS2/TP01/controle/Manie/Manie.java
Normal file
@@ -0,0 +1,17 @@
|
||||
import java.util.Random;
|
||||
|
||||
public class ManieTest{
|
||||
public Manie(){
|
||||
super();
|
||||
}
|
||||
public int RempTab(){
|
||||
Random r=new Random();
|
||||
int[81] tab = new int[];
|
||||
for(int i = 0 ; i < 81 ; i++){
|
||||
tab[i] = 1 + r.nextInt(9);
|
||||
}
|
||||
}
|
||||
public void Tableau(int[] a){
|
||||
System.out
|
||||
}
|
||||
}
|
||||
13
23DEV1.1/TPS2/TP01/controle/Manie/ManieTest.java
Normal file
13
23DEV1.1/TPS2/TP01/controle/Manie/ManieTest.java
Normal file
@@ -0,0 +1,13 @@
|
||||
import javax.swing.*;
|
||||
import java.awt.*;
|
||||
|
||||
public class ManieTest{
|
||||
public static void main(String[] args) {
|
||||
JFrame fenetre = new JFrame("Menu");
|
||||
fenetre.setSize(1040, 1000);
|
||||
fenetre.setLocation(0, 0);
|
||||
fenetre.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
||||
|
||||
fenetre.setVisible(true);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user