为什么中间没有颜色?有哪位大哥大姐知道嘛?
import java.applet.*; import java.awt.*; public class wjx extends Applet { public void paint(Graphics g) { int x[]={30,0,60,0,60,30}; int y[]={10,40,20,20,40,10}; g.fillPolygon(x,y,6); g.drawString("画五角星",50,100);
} }