
JTextArea( String text, int numRows, int numColumns )
constructs a text area initially filled with text,and with the num-
ber of rows and columns specified by numRows and numColumns.
Useful Methods of the JTextArea Class
Return value Method name and argument list
String getText( )
returns the text contained in the text area.This method is inher-
ited from the JTextComponent class.
void setEditable( boolean mode )
sets the properties of the text area as editable or non-editable,
depending on whether mode is true or false.The default is
editable.This method is inherited from the JTextComponent class.
void setText( String newText )
sets the text of the text ...