想画个图
import java.awt.*;import javax.swing.*;
import java.awt.event.*;
public class paint{
public static void paints(Graphics g){
g.drawOval(10,10,10,10);
}
public static void main(String args[]){
paints(Graphics g);
}
想画个简单的图,提示错误如图,该怎么改呢?我总感觉这个程序有许多不对~~~
[此贴子已经被作者于2007-8-9 22:48:29编辑过]