26 lines
770 B
Java
26 lines
770 B
Java
import javax.swing.JPanel;
|
|
|
|
public class ExporterFVG {
|
|
private int[] infos_grille;
|
|
private JPanel[][] composanteGrille;
|
|
private FenetreVideGrille cetteFvg;
|
|
private int Taille;
|
|
|
|
public ExporterFVG(FenetreVideGrille uneFvg){
|
|
this.cetteFvg = uneFvg;
|
|
}
|
|
|
|
public void jsp(){
|
|
this.infos_grille=this.cetteFvg.get_info();
|
|
this.Taille=this.infos_grille[0];
|
|
this.composanteGrille=this.cetteFvg.getGrille();
|
|
for(int i=0; i<this.Taille;i++){
|
|
for(int j=0; j<this.Taille; j++){
|
|
//System.out.println("la couleur que je ne vois pas haha : "+this.composanteGrille[i][j].getBackground());
|
|
}
|
|
}
|
|
Enregistrer dwnld = new Enregistrer();
|
|
dwnld.GetPath();
|
|
}
|
|
}
|