/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package util; import com.sun.lwuit.Component; import com.sun.lwuit.Label; import java.util.Vector; import view.CTable; public class CMilleBande { public CMilleBande() { } public static void colorMilleBande(CTable tList) { int nbComponents, idxRow, col, debCol; Vector tCell = new Vector(); Label cellLibelle; debCol = tList.getModel().getColumnCount(); nbComponents = tList.getComponentCount(); for (int j=debCol;j 0) { idxRow = 0; // numéro de ligne encours , -1 pour les headers col = 0; // numéro de colonne encours for (int j=0;j tList.getModel().getColumnCount() - 1) { idxRow++; col = 0; } } } } }