Shizuo 0 Light Poster
import java.applet.Applet;
import java.awt.*;
import java.awt.event.*;

public class Books extends Applet
{
	Choice b;
	String [] blist;
	//CheckboxGroup edition;
	int i;

	public void init()
		{
			setBackground(Color.green);
			add(new Label("Please Pick a Book:"));
			b = new Choice();
			blist [0] = "";
			blist [1] = "Java Programming";
			blist [2] = "C# Programming";
			blist [3] = "ASP.NET Programming";
			blist [4] = "PHP Programming";
			for (i = 0; i < blist.length; i++)
				{
			      b.insert(blist [i], i);
    			}
    		addNewLine();
    		add(b);
		}

	public void addHorizontalLine(Color c)
		{
			Canvas line = new Canvas( );
			line.setSize(10000,1);
			line.setBackground(c);
			add(line);
		}

	public void addNewLine( )
	   {
		    addHorizontalLine(getBackground( ));
		}
}

HTML

<html>
<applet code = "Books.class" width=300 height=250></applet>
</html>

It says applet not initialized.
Im using Textpad and I don't want to use netbeans