import java.applet.*;
import java.awt.*;

public class TextAreaApplet extends Applet
{
	TextArea textArea;

	public TextAreaApplet()
	{
	}

	public String getAppletInfo()
	{
		return "Name: TextAreaApplet\r\n" +
		       "Author: Brian Jahns\r\n" +
		       "Created with Microsoft Visual J++ Version 1.1";
	}


	public void init()
	{
		String s="This is an example of a\n";
		s+="testarea control, which is not\n";
		s+="unlike a textfield control.\n";
		s+="The big difference is tha a \n";
		s+="textarea control can hold many\n";
		s+="lines of text, whereas a\n";
		s+="textfield control deals with\n";
		s+="only on line of text at a time\n";

		textArea=new TextArea(s, 4, 30);
		add(textArea);

		String b="This is a second text area\n";
		b+="control showing my own text\n";

		textArea=new TextArea(b, 4, 30);
		add(textArea);

    	resize(300, 180);

		

	}

	public void destroy()
	{
	}

	public void paint(Graphics g)
	{
	
	}

	public void start()
	{
	}
	
	public void stop()
	{
	}



}
