/*
* Created on Mar 2, 2004
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package org.cookbook.ch08;
import java.applet.Applet;
import java.awt.*;
public class AppletClass extends Applet {
public void init()
{
setBackground(Color.white);
}
public void start()
{
}
public void paint(Graphics g)
{
g.drawString("Greetings from Applets.", 40, 100);
}
public void stop()
{
}
public void destroy()
{
}
}
|