Your browser does not support the HTML canvas tag.


Home

//******************************************************************************
// project1.for.java:	Applet
//
//******************************************************************************
import java.applet.*;
import java.awt.*;
public class project1 extends Applet
{

public project1()
{
// TODO: Add constructor code here
}

public String getAppletInfo()
{
	return "Name: project1\r\n" +
	       "Author: \r\n" +
	       "Created with Microsoft Visual J++ Version 6.0";
}

public void init()
{
	resize( 150, 100 );
// TODO: Place additional initialization code here
}

public void paint(Graphics g)
{
	
                g.drawString("Hello World", 10, 20);
                g.drawString("     by",     10, 35);
                g.drawString("project1 Thombs", 10, 50);
}

public void start()
{
// TODO: Place additional applet start code here
}

public void stop()
{
}

}