package p1;
import java.awt.Graphics;
import javax.swing.JApplet;
public class Chep5 {
public void paint(Graphics g)
{
super.paint(g);//结果paint显示错误
g.drawString("welcome to java world", 25, 25);
}
}
package p1;
import java.awt.Graphics;
import javax.swing.JApplet;
public class Chep5 {
public void paint(Graphics g)
{
super.paint(g);//结果paint显示错误
g.drawString("welcome to java world", 25, 25);
}
}