Hi i'm trying add a delay into my program but it doesn't seem to work can you tell me what's wrong?

*Heres the code that i need to change*
for (int loop = 1 ; loop <= 100 ; loop = loop + 1)

{
c.setColor (Color.gray);
c.fillOval (230, 120 - loop, 10, 10);
Thread.sleep (1000);

}
*heres my full program so far*

// ccg
// Computer Science
// The "Yearendprojectversionone" class.
import java.awt.*;
import hsa.Console;
import java.lang.Object;
import java.awt.Color;
import java.awt.Robot;


public class Yearendprojectversionone
{
static Console c; // The output console

public static void main (String[] args)
{
c = new Console ();
int neverending = 0;
while (neverending == 0)
{
int userschoice;
int timer = 1;
c.println ("Welcome to Chengcheng's Christmas Scene please indicate which action you would like to view");
c.println ("Enter (1) if you want to watch the lights on the house flash");
c.println ("Enter (2) if you want to watch the tree lights to flash");
c.println ("Enter (3) if you want to see the moon move");
c.println ("Enter (4) if you want to see smoke come out of the house");
c.println ("Enter (5) if you want to see a car driving by");
userschoice = c.readInt ();
if (userschoice == 1)
{
//the sky and the background's main color
c.fillRect (0, 0, 1000, 300);
c.setColor (Color.lightGray);
//the house
c.fillRect (100, 200, 200, 100);
//chimney
c.fillRect (230, 120, 20, 40);
//the roof
c.fillOval (100, 150, 200, 100);
//outlines of the house
c.setColor (Color.black);
c.fillRect (100, 200, 200, 2);
//door
c.fillRect (190, 260, 20, 40);
//Christmas tree
c.setColor (Color.orange);
c.fillRect (500, 230, 30, 70);
c.setColor (Color.green);
c.fillArc (465, 180, 100, 180, 0, 180);
//road on street
c.setColor (Color.gray);
c.fillRect (190, 300, 20, 100);
c.fillRect (0, 400, 900, 20);
//starts
c.setColor (Color.yellow);
c.fillRect (30, 20, 10, 1);
c.fillRect (35, 15, 1, 10);
c.fillRect (30, 20, 10, 1);
c.fillRect (35, 15, 1, 10);
c.fillRect (140, 25, 10, 1);
c.fillRect (145, 20, 1, 10);
c.fillRect (140, 25, 10, 1);
c.fillRect (145, 20, 1, 10);
c.fillRect (230, 50, 10, 1);
c.fillRect (235, 45, 1, 10);
c.fillRect (230, 50, 10, 1);
c.fillRect (235, 45, 1, 10);
c.fillRect (330, 60, 10, 1);
c.fillRect (335, 55, 1, 10);
c.fillRect (330, 60, 10, 1);
c.fillRect (335, 55, 1, 10);
c.fillRect (280, 10, 10, 1);
c.fillRect (285, 5, 1, 10);
c.fillRect (280, 10, 10, 1);
c.fillRect (285, 5, 1, 10);
c.fillRect (110, 40, 10, 1);
c.fillRect (115, 35, 1, 10);
c.fillRect (110, 40, 10, 1);
c.fillRect (115, 35, 1, 10);
//moon
c.fillOval (550, 0, 100, 100);
//windows and doors
for (int loop = 1 ; loop <= 5000 ; loop = loop + 1)
{
c.setColor (Color.red);
c.drawRect (130, 220, 30, 30);
c.drawRect (145, 220, 1, 30);
c.drawRect (230, 220, 30, 30);
c.drawRect (245, 220, 1, 30);
c.drawOval (180, 160, 30, 30);
c.drawRect (195, 160, 1, 30);
c.drawRect (180, 175, 30, 1);
c.setColor (Color.green);
c.drawRect (130, 220, 30, 30);
c.drawRect (145, 220, 1, 30);
c.drawRect (230, 220, 30, 30);
c.drawRect (245, 220, 1, 30);
c.drawOval (180, 160, 30, 30);
c.drawRect (195, 160, 1, 30);
c.drawRect (180, 175, 30, 1);
}
c.clear ();
}
if (userschoice == 4)
{
//the sky and the background's main color
c.fillRect (0, 0, 1000, 300);
c.setColor (Color.lightGray);
//the house
c.fillRect (100, 200, 200, 100);
//chimney
c.fillRect (230, 120, 20, 40);
//the roof
c.fillOval (100, 150, 200, 100);
//outlines of the house
c.setColor (Color.black);
c.fillRect (100, 200, 200, 2);
//door
c.fillRect (190, 260, 20, 40);
//Christmas tree
c.setColor (Color.orange);
c.fillRect (500, 230, 30, 70);
c.setColor (Color.green);
c.fillArc (465, 180, 100, 180, 0, 180);
//road on street
c.setColor (Color.gray);
c.fillRect (190, 300, 20, 100);
c.fillRect (0, 400, 900, 20);
//starts
c.setColor (Color.yellow);
c.fillRect (30, 20, 10, 1);
c.fillRect (35, 15, 1, 10);
c.fillRect (30, 20, 10, 1);
c.fillRect (35, 15, 1, 10);
c.fillRect (140, 25, 10, 1);
c.fillRect (145, 20, 1, 10);
c.fillRect (140, 25, 10, 1);
c.fillRect (145, 20, 1, 10);
c.fillRect (230, 50, 10, 1);
c.fillRect (235, 45, 1, 10);
c.fillRect (230, 50, 10, 1);
c.fillRect (235, 45, 1, 10);
c.fillRect (330, 60, 10, 1);
c.fillRect (335, 55, 1, 10);
c.fillRect (330, 60, 10, 1);
c.fillRect (335, 55, 1, 10);
c.fillRect (280, 10, 10, 1);
c.fillRect (285, 5, 1, 10);
c.fillRect (280, 10, 10, 1);
c.fillRect (285, 5, 1, 10);
c.fillRect (110, 40, 10, 1);
c.fillRect (115, 35, 1, 10);
c.fillRect (110, 40, 10, 1);
c.fillRect (115, 35, 1, 10);
//moon
c.fillOval (550, 0, 100, 100);
//windows and doors
c.setColor (Color.red);
c.drawRect (130, 220, 30, 30);
c.drawRect (145, 220, 1, 30);
c.drawRect (230, 220, 30, 30);
c.drawRect (245, 220, 1, 30);
c.drawOval (180, 160, 30, 30);
c.drawRect (195, 160, 1, 30);
c.drawRect (180, 175, 30, 1);
c.setColor (Color.green);
c.drawRect (130, 220, 30, 30);
c.drawRect (145, 220, 1, 30);
c.drawRect (230, 220, 30, 30);
c.drawRect (245, 220, 1, 30);
c.drawOval (180, 160, 30, 30);
c.drawRect (195, 160, 1, 30);
c.drawRect (180, 175, 30, 1);
//smoke out of the roof
for (int loop = 1 ; loop <= 100 ; loop = loop + 1)

{
c.setColor (Color.gray);
c.fillOval (230, 120 - loop, 10, 10);
Thread.sleep (1000);

}

}
else
{
c.println ("Under production");
}
}
// Place your program here. 'c' is the output console
} // main method
} // Yearendprojectversionone class