import java.awt.*;
import javax.swing.*;
import java.math.*;
public class Applet9 extends JApplet
{
public void paint(Graphics g)
{
int n1,n2,n3;
for(int a=1;a<=500;a+=1)
{
n1=1+(int) (Math.random()*254);
n2=1+(int) (Math.random()*254);
n3=1+(int) (Math.random()*254);
Color one = new Color(n1,n2,n3);
g.setColor(one);
g.drawArc(0,a,400,300,0,180);
}
}
}