30-08-2011, 12:44 PM
Code:
import java.awt.*;
import java.applet.*;
public class TextAreaDemo extends Applet
{
public void init()
{
String val = "There are two ways of Constructing "+
"a software design.\n" + " One way is to make it" +
"so simple \n that there obviously no deficiences"+
"And the other way is to more complicated \n" +
"Ravi Krisnna.M\n\n" + "There s an old story"+
"about the person who wished \n his computer as easy "+
"to use as his telephone \n" +"that wish has come true"+
"Since no longer know to use telephone \n\n" +
" Ravi Krishna.M( Arti Human Brain Devlpr)";
TextArea text = new TextArea(val,10,30);
add(text);
}
}