/*
* Created on Nov 3, 2003
*
* To change the template for this generated file go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
package org.eclipsebook.ch06;
import java.applet.Applet;
import java.awt.*;
/**
* @author Steven Holzner
*
* To change the template for this generated type comment go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
public class Ch06_01 extends Applet {
public void init()
{
setBackground(Color.white);
}
public void start()
{
}
public void paint(Graphics g)
{
g.drawString("Hello from Eclipse!", 60, 100);
}
public void stop()
{
}
public void destroy()
{
}
}
|