wnhoo
发贴: 6
积分: 0
|
于 2005-10-17 12:14
import java.applet.Applet; import java.awt.Graphics; import java.awt.HeadlessException;
public class PracticeApplet extends Applet { public void paint(Graphics g){ g.drawString("* * * * * * * * * * * * * * * * * * * * * * * * *",25,18); g.drawString("* * Practice makes Perfect!",26,18); g.drawString("* * * * * * * * * * * * * * * * * * * * * * * * *",27,18); }
public PracticeApplet() throws HeadlessException { super(); // TODO Auto-generated constructor stub }
}
风花雪月 e梦情缘
|