Bonjour,
je recupere une variable partir d'une socket,aprés je fais
Code : Sélectionner tout - Visualiser dans une fenêtre à part
char[] tableau=msg.toCharArray()
, aprés je dois transformer la variable tableau a un tableau de deux dimenssion donc je fais(tous ça pour un traitement special)

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
      	public void setTable(char[] t){
      	try{	
      	   for(int j = 1; j<=20 ; j++){
      		  for(int i = 1; i<=20 ; i++){
      			  this.table[i][j]=t[i*j];
      		  				}
      	   	}
      	}
      	   catch(Exception e){
      		 System.err.print("Tableau:"+e.getMessage());
      	 }
mais ça marche pas :s!