在背景上画出圆圈,我用的是jcreator import java.awt.* ;public class Test{
public static void main(String args[]){
Frame w = new Frame() ;
w.setBackground(Color.YELLOW) ;
w.setSize(1024, 768) ;
MyPanel mb = new MyPanel() ;

w.add(mb) ; 
w.show();
}
}
 class MyPanel extends Panel {
    public void Paint(Graphics g){
     g.setColor(Color.BLACK);
     g.drawLine(20, 20, 30, 30) ;
    }
 }请gg们帮帮忙,谢谢了