for (int i = 0; i < rows; i++) {
graphics.setColor(0x00D0D0D0);
graphics.drawRect(0, i * rowh, roww, i * rowh);
for (int j = 0; j < cols; j++) {
graphics.drawRect(j * columnw, i * columnheight, 1 * columnw, 1 * columnheight);
rows=30,cols=3,rowh=15,columnw=200,columnheight=15,roww=600.