一个有错的程序
import java.applet.Applet;import java.awt.*;
import java.awt.Color;
import java.awt.Graphics;
public class Rect1 extends Applet
{
public void paint(Graphics g){
int red,green,blue;
red=(int)Math.floor(Math.Random()*256);
green=(int)Math.floor(Math.Random()*256);
blue=(int)Math.floor(Math.Random()*256);
g.setColor(new Color(50,0,0));
g.fillOval(30,30,100,100);
}
}
这个程序为什么有错啊??