if((i+j)%2 == 1);

That ; after that if statement might not be what you wanted.

g.fillOval(i*40+100, j*40+100, (int)(maxRadius + (minRadius-maxRadius)), 40); break;

What's the break for? I...