<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 05:57:08 GMT+01:00 1999 -->
<TITLE>
Swing 1.1 API Specification: Class  JTextArea
</TITLE>
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
</HEAD>
<BODY BGCOLOR="white">

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_top"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" ID="NavBarCell1">
<A NAME="navbar_top_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> &nbsp;<FONT ID="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="class-use/JTextArea.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Swing 1.1</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../javax/swing/JTable.AccessibleJTable.AccessibleJTableCell.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/JTextArea.AccessibleJTextArea.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="JTextArea.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;<A HREF="#inner_class_summary">INNER</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javax.swing.text.JTextComponent">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
javax.swing</FONT>
<BR>
Class  JTextArea</H2>
<PRE>
java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--<A HREF="../../javax/swing/JComponent.html">javax.swing.JComponent</A>
                    |
                    +--<A HREF="../../javax/swing/text/JTextComponent.html">javax.swing.text.JTextComponent</A>
                          |
                          +--<B>javax.swing.JTextArea</B>
</PRE>
<HR>
<DL>
<DT>public class <B>JTextArea</B><DT>extends <A HREF="../../javax/swing/text/JTextComponent.html">JTextComponent</A></DL>

<P>
A TextArea is a multi-line area that displays plain text. 
 It is intended to be a lightweight component that provides source 
 compatibility with the java.awt.TextArea class where it can
 reasonably do so.  This component has capabilities not found in 
 the java.awt.TextArea class.  The superclass should be consulted for 
 additional capabilities.  Alternative multi-line text classes with
 more capabilitites are JTextPane and JEditorPane.
 <p>
 The java.awt.TextArea internally handles scrolling.  JTextArea
 is different in that it doesn't manage scrolling, but implements
 the swing Scrollable interface.  This allows it to be placed 
 inside a JScrollPane if scrolling behavior is desired, and used
 directly if scrolling is not desired.
 <p>
 The java.awt.TextArea has the ability to do line wrapping. 
 This was controlled by the horizontal scrolling policy.  Since
 scrolling is not done by JTextArea directly, backward 
 compatibility must be provided another way.  JTextArea has
 a bound property for line wrapping that controls whether or
 not it will wrap lines.
 <p>
 The java.awt.TextArea could be monitored for changes by adding
 a TextListener for TextEvent's.  In the JTextComponent based
 components, changes are broadcasted from the model via a
 DocumentEvent to DocumentListeners.  The DocumentEvent gives 
 the location of the change and the kind of change if desired.
 The code fragment might look something like:
 <pre><code>
    DocumentListener myListener = ??;
    JTextArea myArea = ??;
    myArea.getDocument().addDocumentListener(myListener);
 </code></pre>
 <p>
 For the keyboard keys used by this component in the standard Look and
 Feel (L&F) renditions, see the
 <a href="doc-files/Key-Index.html#JTextArea">JTextArea</a> key assignments.
 <p>
 <strong>Warning:</strong>
 Serialized objects of this class will not be compatible with
 future Swing releases.  The current serialization support is appropriate
 for short term storage or RMI between applications running the same
 version of Swing.  A future release of Swing will provide support for
 long term persistence.
<P>
<DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JTextPane.html"><CODE>JTextPane</CODE></A>, 
<A HREF="../../javax/swing/JEditorPane.html"><CODE>JEditorPane</CODE></A>, <A HREF="../../serialized-form.html#javax.swing.JTextArea">Serialized Form</A></DL>
<HR>

<P>
<!-- ======== INNER CLASS SUMMARY ======== -->

<A NAME="inner_class_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Inner Class Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.AccessibleJTextArea.html">JTextArea.AccessibleJTextArea</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;The class used to obtain the accessible role for this object.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="inner_classes_inherited_from_class_javax.swing.text.JTextComponent"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Inner classes inherited from class javax.swing.text.<A HREF="../../javax/swing/text/JTextComponent.html">JTextComponent</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/text/JTextComponent.AccessibleJTextComponent.html">JTextComponent.AccessibleJTextComponent</A></B>,  
<B><A HREF="../../javax/swing/text/JTextComponent.KeyBinding.html">JTextComponent.KeyBinding</A></B></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="inner_classes_inherited_from_class_javax.swing.JComponent"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Inner classes inherited from class javax.swing.<A HREF="../../javax/swing/JComponent.html">JComponent</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JComponent.AccessibleJComponent.html">JComponent.AccessibleJComponent</A></B></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- =========== FIELD SUMMARY =========== -->

<A NAME="fields_inherited_from_class_javax.swing.text.JTextComponent"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Fields inherited from class javax.swing.text.<A HREF="../../javax/swing/text/JTextComponent.html">JTextComponent</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../javax/swing/text/JTextComponent.html#DEFAULT_KEYMAP">DEFAULT_KEYMAP</A>,  
<A HREF="../../javax/swing/text/JTextComponent.html#FOCUS_ACCELERATOR_KEY">FOCUS_ACCELERATOR_KEY</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_javax.swing.JComponent"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Fields inherited from class javax.swing.<A HREF="../../javax/swing/JComponent.html">JComponent</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../javax/swing/JComponent.html#accessibleContext">accessibleContext</A>,  
<A HREF="../../javax/swing/JComponent.html#listenerList">listenerList</A>,  
<A HREF="../../javax/swing/JComponent.html#TOOL_TIP_TEXT_KEY">TOOL_TIP_TEXT_KEY</A>,  
<A HREF="../../javax/swing/JComponent.html#ui">ui</A>,  
<A HREF="../../javax/swing/JComponent.html#UNDEFINED_CONDITION">UNDEFINED_CONDITION</A>,  
<A HREF="../../javax/swing/JComponent.html#WHEN_ANCESTOR_OF_FOCUSED_COMPONENT">WHEN_ANCESTOR_OF_FOCUSED_COMPONENT</A>,  
<A HREF="../../javax/swing/JComponent.html#WHEN_FOCUSED">WHEN_FOCUSED</A>,  
<A HREF="../../javax/swing/JComponent.html#WHEN_IN_FOCUSED_WINDOW">WHEN_IN_FOCUSED_WINDOW</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_java.awt.Component"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Fields inherited from class java.awt.Component</B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE>BOTTOM_ALIGNMENT,  
CENTER_ALIGNMENT,  
LEFT_ALIGNMENT,  
RIGHT_ALIGNMENT,  
TOP_ALIGNMENT</CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->

<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#JTextArea()">JTextArea</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new TextArea.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#JTextArea(javax.swing.text.Document)">JTextArea</A></B>(<A HREF="../../javax/swing/text/Document.html">Document</A>&nbsp;doc)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new JTextArea with the given document model, and defaults
 for all of the other arguments (null, 0, 0).</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#JTextArea(javax.swing.text.Document, java.lang.String, int, int)">JTextArea</A></B>(<A HREF="../../javax/swing/text/Document.html">Document</A>&nbsp;doc,
          java.lang.String&nbsp;text,
          int&nbsp;rows,
          int&nbsp;columns)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new JTextArea with the specified number of rows
 and columns, and the given model.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#JTextArea(int, int)">JTextArea</A></B>(int&nbsp;rows,
          int&nbsp;columns)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new empty TextArea with the specified number of
 rows and columns.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#JTextArea(java.lang.String)">JTextArea</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new TextArea with the specified text displayed.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#JTextArea(java.lang.String, int, int)">JTextArea</A></B>(java.lang.String&nbsp;text,
          int&nbsp;rows,
          int&nbsp;columns)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new TextArea with the specified text and number
 of rows and columns.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Method Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#append(java.lang.String)">append</A></B>(java.lang.String&nbsp;str)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Appends the given text to the end of the document.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../javax/swing/text/Document.html">Document</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#createDefaultModel()">createDefaultModel</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates the default implementation of the model
 to be used at construction if one isn't explicitly 
 given.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../javax/accessibility/AccessibleContext.html">AccessibleContext</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#getAccessibleContext()">getAccessibleContext</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the AccessibleContext associated with this JTextArea.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#getColumns()">getColumns</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of columns in the TextArea.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#getColumnWidth()">getColumnWidth</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets column width.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#getLineCount()">getLineCount</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines the number of lines contained in the area.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#getLineEndOffset(int)">getLineEndOffset</A></B>(int&nbsp;line)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines the offset of the end of the given line.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#getLineOfOffset(int)">getLineOfOffset</A></B>(int&nbsp;offset)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Translates an offset into the components text to a 
 line number.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#getLineStartOffset(int)">getLineStartOffset</A></B>(int&nbsp;line)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Determines the offset of the start of the given line.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#getLineWrap()">getLineWrap</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the line-wrapping policy of the text area.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Dimension</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#getPreferredScrollableViewportSize()">getPreferredScrollableViewportSize</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the preferred size of the viewport if this component
 is embedded in a JScrollPane.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Dimension</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#getPreferredSize()">getPreferredSize</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the preferred size of the TextArea.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#getRowHeight()">getRowHeight</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Defines the meaning of the height of a row.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#getRows()">getRows</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of rows in the TextArea.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#getScrollableTracksViewportWidth()">getScrollableTracksViewportWidth</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if a viewport should always force the width of this 
 Scrollable to match the width of the viewport.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#getScrollableUnitIncrement(java.awt.Rectangle, int, int)">getScrollableUnitIncrement</A></B>(java.awt.Rectangle&nbsp;visibleRect,
                           int&nbsp;orientation,
                           int&nbsp;direction)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Components that display logical rows or columns should compute
 the scroll increment that will completely expose one new row
 or column, depending on the value of orientation.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#getTabSize()">getTabSize</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the number of characters used to expand tabs.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#getUIClassID()">getUIClassID</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the class ID for the UI.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#getWrapStyleWord()">getWrapStyleWord</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the style of wrapping used if the text area is wrapping
 lines.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#insert(java.lang.String, int)">insert</A></B>(java.lang.String&nbsp;str,
       int&nbsp;pos)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Inserts the specified text at the specified position.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#isManagingFocus()">isManagingFocus</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Turns off tab traversal once focus gained.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#paramString()">paramString</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string representation of this JTextArea.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#processComponentKeyEvent(java.awt.event.KeyEvent)">processComponentKeyEvent</A></B>(java.awt.event.KeyEvent&nbsp;e)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Make sure that TAB and Shift-TAB events get consumed, so that
 awt doesn't attempt focus traversal.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#replaceRange(java.lang.String, int, int)">replaceRange</A></B>(java.lang.String&nbsp;str,
             int&nbsp;start,
             int&nbsp;end)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Replaces text from the indicated start to end position with the
 new text specified.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#setColumns(int)">setColumns</A></B>(int&nbsp;columns)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the number of columns for this TextArea.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#setFont(java.awt.Font)">setFont</A></B>(java.awt.Font&nbsp;f)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the current font.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#setLineWrap(boolean)">setLineWrap</A></B>(boolean&nbsp;wrap)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the line-wrapping policy of the text area.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#setRows(int)">setRows</A></B>(int&nbsp;rows)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the number of rows for this TextArea.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#setTabSize(int)">setTabSize</A></B>(int&nbsp;size)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the number of characters to expand tabs to.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextArea.html#setWrapStyleWord(boolean)">setWrapStyleWord</A></B>(boolean&nbsp;word)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the style of wrapping used if the text area is wrapping
 lines.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.swing.text.JTextComponent"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class javax.swing.text.<A HREF="../../javax/swing/text/JTextComponent.html">JTextComponent</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../javax/swing/text/JTextComponent.html#addCaretListener(javax.swing.event.CaretListener)">addCaretListener</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#addKeymap(java.lang.String, javax.swing.text.Keymap)">addKeymap</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#copy()">copy</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#cut()">cut</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#fireCaretUpdate(javax.swing.event.CaretEvent)">fireCaretUpdate</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#getActions()">getActions</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#getCaret()">getCaret</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#getCaretColor()">getCaretColor</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#getCaretPosition()">getCaretPosition</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#getDisabledTextColor()">getDisabledTextColor</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#getDocument()">getDocument</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#getFocusAccelerator()">getFocusAccelerator</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#getHighlighter()">getHighlighter</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#getKeymap()">getKeymap</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#getKeymap(java.lang.String)">getKeymap</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#getMargin()">getMargin</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#getScrollableBlockIncrement(java.awt.Rectangle, int, int)">getScrollableBlockIncrement</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#getScrollableTracksViewportHeight()">getScrollableTracksViewportHeight</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#getSelectedText()">getSelectedText</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#getSelectedTextColor()">getSelectedTextColor</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#getSelectionColor()">getSelectionColor</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#getSelectionEnd()">getSelectionEnd</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#getSelectionStart()">getSelectionStart</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#getText()">getText</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#getText(int, int)">getText</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#getUI()">getUI</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#isEditable()">isEditable</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#isFocusTraversable()">isFocusTraversable</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#isOpaque()">isOpaque</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#loadKeymap(javax.swing.text.Keymap, javax.swing.text.JTextComponent.KeyBinding[], javax.swing.Action[])">loadKeymap</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#modelToView(int)">modelToView</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#moveCaretPosition(int)">moveCaretPosition</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#paste()">paste</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#read(java.io.Reader, java.lang.Object)">read</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#removeCaretListener(javax.swing.event.CaretListener)">removeCaretListener</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#removeKeymap(java.lang.String)">removeKeymap</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#removeNotify()">removeNotify</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#replaceSelection(java.lang.String)">replaceSelection</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#select(int, int)">select</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#selectAll()">selectAll</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#setCaret(javax.swing.text.Caret)">setCaret</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#setCaretColor(java.awt.Color)">setCaretColor</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#setCaretPosition(int)">setCaretPosition</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#setDisabledTextColor(java.awt.Color)">setDisabledTextColor</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#setDocument(javax.swing.text.Document)">setDocument</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#setEditable(boolean)">setEditable</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#setEnabled(boolean)">setEnabled</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#setFocusAccelerator(char)">setFocusAccelerator</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#setHighlighter(javax.swing.text.Highlighter)">setHighlighter</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#setKeymap(javax.swing.text.Keymap)">setKeymap</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#setMargin(java.awt.Insets)">setMargin</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#setOpaque(boolean)">setOpaque</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#setSelectedTextColor(java.awt.Color)">setSelectedTextColor</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#setSelectionColor(java.awt.Color)">setSelectionColor</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#setSelectionEnd(int)">setSelectionEnd</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#setSelectionStart(int)">setSelectionStart</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#setText(java.lang.String)">setText</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#setUI(javax.swing.plaf.TextUI)">setUI</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#updateUI()">updateUI</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#viewToModel(java.awt.Point)">viewToModel</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#write(java.io.Writer)">write</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_javax.swing.JComponent"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class javax.swing.<A HREF="../../javax/swing/JComponent.html">JComponent</A></B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><A HREF="../../javax/swing/JComponent.html#addAncestorListener(javax.swing.event.AncestorListener)">addAncestorListener</A>, 
<A HREF="../../javax/swing/JComponent.html#addNotify()">addNotify</A>, 
<A HREF="../../javax/swing/JComponent.html#addPropertyChangeListener(java.beans.PropertyChangeListener)">addPropertyChangeListener</A>, 
<A HREF="../../javax/swing/JComponent.html#addVetoableChangeListener(java.beans.VetoableChangeListener)">addVetoableChangeListener</A>, 
<A HREF="../../javax/swing/JComponent.html#computeVisibleRect(java.awt.Rectangle)">computeVisibleRect</A>, 
<A HREF="../../javax/swing/JComponent.html#contains(int, int)">contains</A>, 
<A HREF="../../javax/swing/JComponent.html#createToolTip()">createToolTip</A>, 
<A HREF="../../javax/swing/JComponent.html#firePropertyChange(java.lang.String, boolean, boolean)">firePropertyChange</A>, 
<A HREF="../../javax/swing/JComponent.html#firePropertyChange(java.lang.String, byte, byte)">firePropertyChange</A>, 
<A HREF="../../javax/swing/JComponent.html#firePropertyChange(java.lang.String, char, char)">firePropertyChange</A>, 
<A HREF="../../javax/swing/JComponent.html#firePropertyChange(java.lang.String, double, double)">firePropertyChange</A>, 
<A HREF="../../javax/swing/JComponent.html#firePropertyChange(java.lang.String, float, float)">firePropertyChange</A>, 
<A HREF="../../javax/swing/JComponent.html#firePropertyChange(java.lang.String, int, int)">firePropertyChange</A>, 
<A HREF="../../javax/swing/JComponent.html#firePropertyChange(java.lang.String, long, long)">firePropertyChange</A>, 
<A HREF="../../javax/swing/JComponent.html#firePropertyChange(java.lang.String, java.lang.Object, java.lang.Object)">firePropertyChange</A>, 
<A HREF="../../javax/swing/JComponent.html#firePropertyChange(java.lang.String, short, short)">firePropertyChange</A>, 
<A HREF="../../javax/swing/JComponent.html#fireVetoableChange(java.lang.String, java.lang.Object, java.lang.Object)">fireVetoableChange</A>, 
<A HREF="../../javax/swing/JComponent.html#getActionForKeyStroke(javax.swing.KeyStroke)">getActionForKeyStroke</A>, 
<A HREF="../../javax/swing/JComponent.html#getAlignmentX()">getAlignmentX</A>, 
<A HREF="../../javax/swing/JComponent.html#getAlignmentY()">getAlignmentY</A>, 
<A HREF="../../javax/swing/JComponent.html#getAutoscrolls()">getAutoscrolls</A>, 
<A HREF="../../javax/swing/JComponent.html#getBorder()">getBorder</A>, 
<A HREF="../../javax/swing/JComponent.html#getBounds(java.awt.Rectangle)">getBounds</A>, 
<A HREF="../../javax/swing/JComponent.html#getClientProperty(java.lang.Object)">getClientProperty</A>, 
<A HREF="../../javax/swing/JComponent.html#getComponentGraphics(java.awt.Graphics)">getComponentGraphics</A>, 
<A HREF="../../javax/swing/JComponent.html#getConditionForKeyStroke(javax.swing.KeyStroke)">getConditionForKeyStroke</A>, 
<A HREF="../../javax/swing/JComponent.html#getDebugGraphicsOptions()">getDebugGraphicsOptions</A>, 
<A HREF="../../javax/swing/JComponent.html#getGraphics()">getGraphics</A>, 
<A HREF="../../javax/swing/JComponent.html#getHeight()">getHeight</A>, 
<A HREF="../../javax/swing/JComponent.html#getInsets()">getInsets</A>, 
<A HREF="../../javax/swing/JComponent.html#getInsets(java.awt.Insets)">getInsets</A>, 
<A HREF="../../javax/swing/JComponent.html#getLocation(java.awt.Point)">getLocation</A>, 
<A HREF="../../javax/swing/JComponent.html#getMaximumSize()">getMaximumSize</A>, 
<A HREF="../../javax/swing/JComponent.html#getMinimumSize()">getMinimumSize</A>, 
<A HREF="../../javax/swing/JComponent.html#getNextFocusableComponent()">getNextFocusableComponent</A>, 
<A HREF="../../javax/swing/JComponent.html#getRegisteredKeyStrokes()">getRegisteredKeyStrokes</A>, 
<A HREF="../../javax/swing/JComponent.html#getRootPane()">getRootPane</A>, 
<A HREF="../../javax/swing/JComponent.html#getSize(java.awt.Dimension)">getSize</A>, 
<A HREF="../../javax/swing/JComponent.html#getToolTipLocation(java.awt.event.MouseEvent)">getToolTipLocation</A>, 
<A HREF="../../javax/swing/JComponent.html#getToolTipText()">getToolTipText</A>, 
<A HREF="../../javax/swing/JComponent.html#getToolTipText(java.awt.event.MouseEvent)">getToolTipText</A>, 
<A HREF="../../javax/swing/JComponent.html#getTopLevelAncestor()">getTopLevelAncestor</A>, 
<A HREF="../../javax/swing/JComponent.html#getVisibleRect()">getVisibleRect</A>, 
<A HREF="../../javax/swing/JComponent.html#getWidth()">getWidth</A>, 
<A HREF="../../javax/swing/JComponent.html#getX()">getX</A>, 
<A HREF="../../javax/swing/JComponent.html#getY()">getY</A>, 
<A HREF="../../javax/swing/JComponent.html#grabFocus()">grabFocus</A>, 
<A HREF="../../javax/swing/JComponent.html#hasFocus()">hasFocus</A>, 
<A HREF="../../javax/swing/JComponent.html#isDoubleBuffered()">isDoubleBuffered</A>, 
<A HREF="../../javax/swing/JComponent.html#isFocusCycleRoot()">isFocusCycleRoot</A>, 
<A HREF="../../javax/swing/JComponent.html#isLightweightComponent(java.awt.Component)">isLightweightComponent</A>, 
<A HREF="../../javax/swing/JComponent.html#isOptimizedDrawingEnabled()">isOptimizedDrawingEnabled</A>, 
<A HREF="../../javax/swing/JComponent.html#isPaintingTile()">isPaintingTile</A>, 
<A HREF="../../javax/swing/JComponent.html#isRequestFocusEnabled()">isRequestFocusEnabled</A>, 
<A HREF="../../javax/swing/JComponent.html#isValidateRoot()">isValidateRoot</A>, 
<A HREF="../../javax/swing/JComponent.html#paint(java.awt.Graphics)">paint</A>, 
<A HREF="../../javax/swing/JComponent.html#paintBorder(java.awt.Graphics)">paintBorder</A>, 
<A HREF="../../javax/swing/JComponent.html#paintChildren(java.awt.Graphics)">paintChildren</A>, 
<A HREF="../../javax/swing/JComponent.html#paintComponent(java.awt.Graphics)">paintComponent</A>, 
<A HREF="../../javax/swing/JComponent.html#paintImmediately(int, int, int, int)">paintImmediately</A>, 
<A HREF="../../javax/swing/JComponent.html#paintImmediately(java.awt.Rectangle)">paintImmediately</A>, 
<A HREF="../../javax/swing/JComponent.html#processFocusEvent(java.awt.event.FocusEvent)">processFocusEvent</A>, 
<A HREF="../../javax/swing/JComponent.html#processKeyEvent(java.awt.event.KeyEvent)">processKeyEvent</A>, 
<A HREF="../../javax/swing/JComponent.html#processMouseMotionEvent(java.awt.event.MouseEvent)">processMouseMotionEvent</A>, 
<A HREF="../../javax/swing/JComponent.html#putClientProperty(java.lang.Object, java.lang.Object)">putClientProperty</A>, 
<A HREF="../../javax/swing/JComponent.html#registerKeyboardAction(java.awt.event.ActionListener, javax.swing.KeyStroke, int)">registerKeyboardAction</A>, 
<A HREF="../../javax/swing/JComponent.html#registerKeyboardAction(java.awt.event.ActionListener, java.lang.String, javax.swing.KeyStroke, int)">registerKeyboardAction</A>, 
<A HREF="../../javax/swing/JComponent.html#removeAncestorListener(javax.swing.event.AncestorListener)">removeAncestorListener</A>, 
<A HREF="../../javax/swing/JComponent.html#removePropertyChangeListener(java.beans.PropertyChangeListener)">removePropertyChangeListener</A>, 
<A HREF="../../javax/swing/JComponent.html#removeVetoableChangeListener(java.beans.VetoableChangeListener)">removeVetoableChangeListener</A>, 
<A HREF="../../javax/swing/JComponent.html#repaint(long, int, int, int, int)">repaint</A>, 
<A HREF="../../javax/swing/JComponent.html#repaint(java.awt.Rectangle)">repaint</A>, 
<A HREF="../../javax/swing/JComponent.html#requestDefaultFocus()">requestDefaultFocus</A>, 
<A HREF="../../javax/swing/JComponent.html#requestFocus()">requestFocus</A>, 
<A HREF="../../javax/swing/JComponent.html#resetKeyboardActions()">resetKeyboardActions</A>, 
<A HREF="../../javax/swing/JComponent.html#reshape(int, int, int, int)">reshape</A>, 
<A HREF="../../javax/swing/JComponent.html#revalidate()">revalidate</A>, 
<A HREF="../../javax/swing/JComponent.html#scrollRectToVisible(java.awt.Rectangle)">scrollRectToVisible</A>, 
<A HREF="../../javax/swing/JComponent.html#setAlignmentX(float)">setAlignmentX</A>, 
<A HREF="../../javax/swing/JComponent.html#setAlignmentY(float)">setAlignmentY</A>, 
<A HREF="../../javax/swing/JComponent.html#setAutoscrolls(boolean)">setAutoscrolls</A>, 
<A HREF="../../javax/swing/JComponent.html#setBackground(java.awt.Color)">setBackground</A>, 
<A HREF="../../javax/swing/JComponent.html#setBorder(javax.swing.border.Border)">setBorder</A>, 
<A HREF="../../javax/swing/JComponent.html#setDebugGraphicsOptions(int)">setDebugGraphicsOptions</A>, 
<A HREF="../../javax/swing/JComponent.html#setDoubleBuffered(boolean)">setDoubleBuffered</A>, 
<A HREF="../../javax/swing/JComponent.html#setForeground(java.awt.Color)">setForeground</A>, 
<A HREF="../../javax/swing/JComponent.html#setMaximumSize(java.awt.Dimension)">setMaximumSize</A>, 
<A HREF="../../javax/swing/JComponent.html#setMinimumSize(java.awt.Dimension)">setMinimumSize</A>, 
<A HREF="../../javax/swing/JComponent.html#setNextFocusableComponent(java.awt.Component)">setNextFocusableComponent</A>, 
<A HREF="../../javax/swing/JComponent.html#setPreferredSize(java.awt.Dimension)">setPreferredSize</A>, 
<A HREF="../../javax/swing/JComponent.html#setRequestFocusEnabled(boolean)">setRequestFocusEnabled</A>, 
<A HREF="../../javax/swing/JComponent.html#setToolTipText(java.lang.String)">setToolTipText</A>, 
<A HREF="../../javax/swing/JComponent.html#setUI(javax.swing.plaf.ComponentUI)">setUI</A>, 
<A HREF="../../javax/swing/JComponent.html#setVisible(boolean)">setVisible</A>, 
<A HREF="../../javax/swing/JComponent.html#unregisterKeyboardAction(javax.swing.KeyStroke)">unregisterKeyboardAction</A>, 
<A HREF="../../javax/swing/JComponent.html#update(java.awt.Graphics)">update</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.awt.Container"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class java.awt.Container</B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE>add, 
add, 
add, 
add, 
add, 
addContainerListener, 
addImpl, 
countComponents, 
deliverEvent, 
doLayout, 
getComponent, 
getComponentAt, 
getComponentAt, 
getComponentCount, 
getComponents, 
getLayout, 
insets, 
invalidate, 
isAncestorOf, 
layout, 
list, 
list, 
locate, 
minimumSize, 
paintComponents, 
preferredSize, 
print, 
printComponents, 
processContainerEvent, 
processEvent, 
remove, 
remove, 
removeAll, 
removeContainerListener, 
setLayout, 
validate, 
validateTree</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.awt.Component"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class java.awt.Component</B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE>action, 
add, 
addComponentListener, 
addFocusListener, 
addKeyListener, 
addMouseListener, 
addMouseMotionListener, 
bounds, 
checkImage, 
checkImage, 
contains, 
createImage, 
createImage, 
disable, 
disableEvents, 
dispatchEvent, 
enable, 
enable, 
enableEvents, 
getBackground, 
getBounds, 
getColorModel, 
getCursor, 
getFont, 
getFontMetrics, 
getForeground, 
getLocale, 
getLocation, 
getLocationOnScreen, 
getName, 
getParent, 
getPeer, 
getSize, 
getToolkit, 
getTreeLock, 
gotFocus, 
handleEvent, 
hide, 
imageUpdate, 
inside, 
isEnabled, 
isShowing, 
isValid, 
isVisible, 
keyDown, 
keyUp, 
list, 
list, 
list, 
location, 
lostFocus, 
mouseDown, 
mouseDrag, 
mouseEnter, 
mouseExit, 
mouseMove, 
mouseUp, 
move, 
nextFocus, 
paintAll, 
postEvent, 
prepareImage, 
prepareImage, 
printAll, 
processComponentEvent, 
processMouseEvent, 
remove, 
removeComponentListener, 
removeFocusListener, 
removeKeyListener, 
removeMouseListener, 
removeMouseMotionListener, 
repaint, 
repaint, 
repaint, 
resize, 
resize, 
setBounds, 
setBounds, 
setCursor, 
setLocale, 
setLocation, 
setLocation, 
setName, 
setSize, 
setSize, 
show, 
show, 
size, 
toString, 
transferFocus</CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" ID="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE>clone, 
equals, 
finalize, 
getClass, 
hashCode, 
notify, 
notifyAll, 
wait, 
wait, 
wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->


<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="JTextArea()"><!-- --></A><H3>
JTextArea</H3>
<PRE>
public <B>JTextArea</B>()</PRE>
<DL>
<DD>Constructs a new TextArea.  A default model is set, the initial string
 is null, and rows/columns are set to 0.</DL>
<HR>

<A NAME="JTextArea(java.lang.String)"><!-- --></A><H3>
JTextArea</H3>
<PRE>
public <B>JTextArea</B>(java.lang.String&nbsp;text)</PRE>
<DL>
<DD>Constructs a new TextArea with the specified text displayed.
 A default model is created and rows/columns are set to 0.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - the text to be displayed, or null</DL>
</DD>
</DL>
<HR>

<A NAME="JTextArea(int, int)"><!-- --></A><H3>
JTextArea</H3>
<PRE>
public <B>JTextArea</B>(int&nbsp;rows,
                 int&nbsp;columns)</PRE>
<DL>
<DD>Constructs a new empty TextArea with the specified number of
 rows and columns.  A default model is created, and the initial
 string is null.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>rows</CODE> - the number of rows >= 0<DD><CODE>columns</CODE> - the number of columns >= 0</DL>
</DD>
</DL>
<HR>

<A NAME="JTextArea(java.lang.String, int, int)"><!-- --></A><H3>
JTextArea</H3>
<PRE>
public <B>JTextArea</B>(java.lang.String&nbsp;text,
                 int&nbsp;rows,
                 int&nbsp;columns)</PRE>
<DL>
<DD>Constructs a new TextArea with the specified text and number
 of rows and columns.  A default model is created.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - the text to be displayed, or null<DD><CODE>rows</CODE> - the number of rows >= 0<DD><CODE>columns</CODE> - the number of columns >= 0</DL>
</DD>
</DL>
<HR>

<A NAME="JTextArea(javax.swing.text.Document)"><!-- --></A><H3>
JTextArea</H3>
<PRE>
public <B>JTextArea</B>(<A HREF="../../javax/swing/text/Document.html">Document</A>&nbsp;doc)</PRE>
<DL>
<DD>Constructs a new JTextArea with the given document model, and defaults
 for all of the other arguments (null, 0, 0).<DD><DL>
<DT><B>Parameters:</B><DD><CODE>doc</CODE> - the model to use</DL>
</DD>
</DL>
<HR>

<A NAME="JTextArea(javax.swing.text.Document, java.lang.String, int, int)"><!-- --></A><H3>
JTextArea</H3>
<PRE>
public <B>JTextArea</B>(<A HREF="../../javax/swing/text/Document.html">Document</A>&nbsp;doc,
                 java.lang.String&nbsp;text,
                 int&nbsp;rows,
                 int&nbsp;columns)</PRE>
<DL>
<DD>Constructs a new JTextArea with the specified number of rows
 and columns, and the given model.  All of the constructors
 feed through this constructor.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>doc</CODE> - the model to use, or create a default one if null<DD><CODE>text</CODE> - the text to be displayed, null if none<DD><CODE>rows</CODE> - the number of rows >= 0<DD><CODE>columns</CODE> - the number of columns >= 0</DL>
</DD>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="getUIClassID()"><!-- --></A><H3>
getUIClassID</H3>
<PRE>
public java.lang.String <B>getUIClassID</B>()</PRE>
<DL>
<DD>Returns the class ID for the UI.<DD><DL>
<DT><B>Returns:</B><DD>the ID ("TextAreaUI")<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/JComponent.html#getUIClassID()">getUIClassID</A> in class <A HREF="../../javax/swing/JComponent.html">JComponent</A><DT><B>See Also: </B><DD><A HREF="../../javax/swing/JComponent.html#getUIClassID()"><CODE>JComponent.getUIClassID()</CODE></A>, 
<A HREF="../../javax/swing/UIDefaults.html#getUI(javax.swing.JComponent)"><CODE>UIDefaults.getUI(javax.swing.JComponent)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="createDefaultModel()"><!-- --></A><H3>
createDefaultModel</H3>
<PRE>
protected <A HREF="../../javax/swing/text/Document.html">Document</A> <B>createDefaultModel</B>()</PRE>
<DL>
<DD>Creates the default implementation of the model
 to be used at construction if one isn't explicitly 
 given.  A new instance of PlainDocument is returned.<DD><DL>
<DT><B>Returns:</B><DD>the default document model</DL>
</DD>
</DL>
<HR>

<A NAME="setTabSize(int)"><!-- --></A><H3>
setTabSize</H3>
<PRE>
public void <B>setTabSize</B>(int&nbsp;size)</PRE>
<DL>
<DD>Sets the number of characters to expand tabs to.
 This will be multiplied by the maximum advance for
 variable width fonts.  A PropertyChange event ("TabSize") is fired
 when the tab size changes.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>size</CODE> - number of characters to expand to<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JTextArea.html#getTabSize()"><CODE>getTabSize()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getTabSize()"><!-- --></A><H3>
getTabSize</H3>
<PRE>
public int <B>getTabSize</B>()</PRE>
<DL>
<DD>Gets the number of characters used to expand tabs.  If the document is
 null or doesn't have a tab setting, return a default of 8.<DD><DL>
<DT><B>Returns:</B><DD>the number of characters</DL>
</DD>
</DL>
<HR>

<A NAME="setLineWrap(boolean)"><!-- --></A><H3>
setLineWrap</H3>
<PRE>
public void <B>setLineWrap</B>(boolean&nbsp;wrap)</PRE>
<DL>
<DD>Sets the line-wrapping policy of the text area.  If set
 to true the lines will be wrapped if they are too long
 to fit within the allocated width.  If set to false,
 the lines will always be unwrapped.  A PropertyChange event ("LineWrap")
 is fired when the policy is changed.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>wrap</CODE> - indicates if lines should be wrapped.<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JTextArea.html#getLineWrap()"><CODE>getLineWrap()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getLineWrap()"><!-- --></A><H3>
getLineWrap</H3>
<PRE>
public boolean <B>getLineWrap</B>()</PRE>
<DL>
<DD>Gets the line-wrapping policy of the text area.  If set
 to true the lines will be wrapped if they are too long
 to fit within the allocated width.  If set to false,
 the lines will always be unwrapped.</DL>
<HR>

<A NAME="setWrapStyleWord(boolean)"><!-- --></A><H3>
setWrapStyleWord</H3>
<PRE>
public void <B>setWrapStyleWord</B>(boolean&nbsp;word)</PRE>
<DL>
<DD>Set the style of wrapping used if the text area is wrapping
 lines.  If set to true the lines will be wrapped at word
 boundries (ie whitespace) if they are too long
 to fit within the allocated width.  If set to false,
 the lines will be wrapped at character boundries.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>word</CODE> - indicates if word boundries should be used
   for line wrapping.<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JTextArea.html#getWrapStyleWord()"><CODE>getWrapStyleWord()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getWrapStyleWord()"><!-- --></A><H3>
getWrapStyleWord</H3>
<PRE>
public boolean <B>getWrapStyleWord</B>()</PRE>
<DL>
<DD>Get the style of wrapping used if the text area is wrapping
 lines.  If set to true the lines will be wrapped at word
 boundries (ie whitespace) if they are too long
 to fit within the allocated width.  If set to false,
 the lines will be wrapped at character boundries.</DL>
<HR>

<A NAME="getLineOfOffset(int)"><!-- --></A><H3>
getLineOfOffset</H3>
<PRE>
public int <B>getLineOfOffset</B>(int&nbsp;offset)
                    throws <A HREF="../../javax/swing/text/BadLocationException.html">BadLocationException</A></PRE>
<DL>
<DD>Translates an offset into the components text to a 
 line number.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>offset</CODE> - the offset >= 0<DT><B>Returns:</B><DD>the line number >= 0<DT><B>Throws:</B><DD><A HREF="../../javax/swing/text/BadLocationException.html">BadLocationException</A> - thrown if the offset is
   less than zero or greater than the document length.</DL>
</DD>
</DL>
<HR>

<A NAME="getLineCount()"><!-- --></A><H3>
getLineCount</H3>
<PRE>
public int <B>getLineCount</B>()</PRE>
<DL>
<DD>Determines the number of lines contained in the area.<DD><DL>
<DT><B>Returns:</B><DD>the number of lines >= 0</DL>
</DD>
</DL>
<HR>

<A NAME="getLineStartOffset(int)"><!-- --></A><H3>
getLineStartOffset</H3>
<PRE>
public int <B>getLineStartOffset</B>(int&nbsp;line)
                       throws <A HREF="../../javax/swing/text/BadLocationException.html">BadLocationException</A></PRE>
<DL>
<DD>Determines the offset of the start of the given line.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>line</CODE> - the line number to translate >= 0<DT><B>Returns:</B><DD>the offset >= 0<DT><B>Throws:</B><DD><A HREF="../../javax/swing/text/BadLocationException.html">BadLocationException</A> - thrown if the line is
 less than zero or greater or equal to the number of
 lines contained in the document (as reported by 
 getLineCount).</DL>
</DD>
</DL>
<HR>

<A NAME="getLineEndOffset(int)"><!-- --></A><H3>
getLineEndOffset</H3>
<PRE>
public int <B>getLineEndOffset</B>(int&nbsp;line)
                     throws <A HREF="../../javax/swing/text/BadLocationException.html">BadLocationException</A></PRE>
<DL>
<DD>Determines the offset of the end of the given line.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>line</CODE> - the line >= 0<DT><B>Returns:</B><DD>the offset >= 0<DT><B>Throws:</B><DD><A HREF="../../javax/swing/text/BadLocationException.html">BadLocationException</A> - Thrown if the line is
 less than zero or greater or equal to the number of
 lines contained in the document (as reported by 
 getLineCount).</DL>
</DD>
</DL>
<HR>

<A NAME="insert(java.lang.String, int)"><!-- --></A><H3>
insert</H3>
<PRE>
public void <B>insert</B>(java.lang.String&nbsp;str,
                   int&nbsp;pos)</PRE>
<DL>
<DD>Inserts the specified text at the specified position.  Does nothing
 if the model is null or if the text is null or empty.
 <p>
 This method is thread safe, although most Swing methods
 are not. Please see 
 <A HREF="http://java.sun.com/products/jfc/swingdoc-archive/threads.html">Threads
 and Swing</A> for more information.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>str</CODE> - the text to insert<DD><CODE>pos</CODE> - the position at which to insert >= 0<DT><B>Throws:</B><DD>java.lang.IllegalArgumentException - if pos is an
  invalid position in the model<DT><B>See Also: </B><DD><CODE>TextComponent.setText(java.lang.String)</CODE>, 
<A HREF="../../javax/swing/JTextArea.html#replaceRange(java.lang.String, int, int)"><CODE>replaceRange(java.lang.String, int, int)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="append(java.lang.String)"><!-- --></A><H3>
append</H3>
<PRE>
public void <B>append</B>(java.lang.String&nbsp;str)</PRE>
<DL>
<DD>Appends the given text to the end of the document.  Does nothing if
 the model is null or the string is null or empty.
 <p>
 This method is thread safe, although most Swing methods
 are not. Please see 
 <A HREF="http://java.sun.com/products/jfc/swingdoc-archive/threads.html">Threads
 and Swing</A> for more information.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>str</CODE> - the text to insert<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JTextArea.html#insert(java.lang.String, int)"><CODE>insert(java.lang.String, int)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="replaceRange(java.lang.String, int, int)"><!-- --></A><H3>
replaceRange</H3>
<PRE>
public void <B>replaceRange</B>(java.lang.String&nbsp;str,
                         int&nbsp;start,
                         int&nbsp;end)</PRE>
<DL>
<DD>Replaces text from the indicated start to end position with the
 new text specified.  Does nothing if the model is null.  Simply
 does a delete if the new string is null or empty.
 <p>
 This method is thread safe, although most Swing methods
 are not. Please see 
 <A HREF="http://java.sun.com/products/jfc/swingdoc-archive/threads.html">Threads
 and Swing</A> for more information.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>str</CODE> - the text to use as the replacement<DD><CODE>start</CODE> - the start position >= 0<DD><CODE>end</CODE> - the end position >= start<DT><B>Throws:</B><DD>java.lang.IllegalArgumentException - if part of the range is an
  invalid position in the model<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JTextArea.html#insert(java.lang.String, int)"><CODE>insert(java.lang.String, int)</CODE></A>, 
<A HREF="../../javax/swing/JTextArea.html#replaceRange(java.lang.String, int, int)"><CODE>replaceRange(java.lang.String, int, int)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="isManagingFocus()"><!-- --></A><H3>
isManagingFocus</H3>
<PRE>
public boolean <B>isManagingFocus</B>()</PRE>
<DL>
<DD>Turns off tab traversal once focus gained.<DD><DL>
<DT><B>Returns:</B><DD>true, to indicate that the focus is being managed<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/JComponent.html#isManagingFocus()">isManagingFocus</A> in class <A HREF="../../javax/swing/JComponent.html">JComponent</A></DL>
</DD>
</DL>
<HR>

<A NAME="processComponentKeyEvent(java.awt.event.KeyEvent)"><!-- --></A><H3>
processComponentKeyEvent</H3>
<PRE>
protected void <B>processComponentKeyEvent</B>(java.awt.event.KeyEvent&nbsp;e)</PRE>
<DL>
<DD>Make sure that TAB and Shift-TAB events get consumed, so that
 awt doesn't attempt focus traversal.<DD><DL>
<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/text/JTextComponent.html#processComponentKeyEvent(java.awt.event.KeyEvent)">processComponentKeyEvent</A> in class <A HREF="../../javax/swing/text/JTextComponent.html">JTextComponent</A></DL>
</DD>
</DL>
<HR>

<A NAME="getRows()"><!-- --></A><H3>
getRows</H3>
<PRE>
public int <B>getRows</B>()</PRE>
<DL>
<DD>Returns the number of rows in the TextArea.<DD><DL>
<DT><B>Returns:</B><DD>the number of rows >= 0</DL>
</DD>
</DL>
<HR>

<A NAME="setRows(int)"><!-- --></A><H3>
setRows</H3>
<PRE>
public void <B>setRows</B>(int&nbsp;rows)</PRE>
<DL>
<DD>Sets the number of rows for this TextArea.  Calls invalidate() after
 setting the new value.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>rows</CODE> - the number of rows >= 0<DT><B>Throws:</B><DD>java.lang.IllegalArgumentException - if rows is less than 0<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JTextArea.html#getRows()"><CODE>getRows()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getRowHeight()"><!-- --></A><H3>
getRowHeight</H3>
<PRE>
protected int <B>getRowHeight</B>()</PRE>
<DL>
<DD>Defines the meaning of the height of a row.  This defaults to
 the height of the font.<DD><DL>
<DT><B>Returns:</B><DD>the height >= 1</DL>
</DD>
</DL>
<HR>

<A NAME="getColumns()"><!-- --></A><H3>
getColumns</H3>
<PRE>
public int <B>getColumns</B>()</PRE>
<DL>
<DD>Returns the number of columns in the TextArea.<DD><DL>
<DT><B>Returns:</B><DD>number of columns >= 0</DL>
</DD>
</DL>
<HR>

<A NAME="setColumns(int)"><!-- --></A><H3>
setColumns</H3>
<PRE>
public void <B>setColumns</B>(int&nbsp;columns)</PRE>
<DL>
<DD>Sets the number of columns for this TextArea.  Does an invalidate()
 after setting the new value.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>columns</CODE> - the number of columns >= 0<DT><B>Throws:</B><DD>java.lang.IllegalArgumentException - if columns is less than 0<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JTextArea.html#getColumns()"><CODE>getColumns()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getColumnWidth()"><!-- --></A><H3>
getColumnWidth</H3>
<PRE>
protected int <B>getColumnWidth</B>()</PRE>
<DL>
<DD>Gets column width.
 The meaning of what a column is can be considered a fairly weak
 notion for some fonts.  This method is used to define the width
 of a column.  By default this is defined to be the width of the
 character <em>m</em> for the font used.  This method can be 
 redefined to be some alternative amount.<DD><DL>
<DT><B>Returns:</B><DD>the column width >= 1</DL>
</DD>
</DL>
<HR>

<A NAME="getPreferredSize()"><!-- --></A><H3>
getPreferredSize</H3>
<PRE>
public java.awt.Dimension <B>getPreferredSize</B>()</PRE>
<DL>
<DD>Returns the preferred size of the TextArea.  This is the
 maximum of the size needed to display the text and the
 size requested for the viewport.<DD><DL>
<DT><B>Returns:</B><DD>the size<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/JComponent.html#getPreferredSize()">getPreferredSize</A> in class <A HREF="../../javax/swing/JComponent.html">JComponent</A></DL>
</DD>
</DL>
<HR>

<A NAME="setFont(java.awt.Font)"><!-- --></A><H3>
setFont</H3>
<PRE>
public void <B>setFont</B>(java.awt.Font&nbsp;f)</PRE>
<DL>
<DD>Sets the current font.  This removes cached row height and column
 width so the new font will be reflected, and calls revalidate().<DD><DL>
<DT><B>Parameters:</B><DD><CODE>f</CODE> - the font to use as the current font<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/JComponent.html#setFont(java.awt.Font)">setFont</A> in class <A HREF="../../javax/swing/JComponent.html">JComponent</A></DL>
</DD>
</DL>
<HR>

<A NAME="paramString()"><!-- --></A><H3>
paramString</H3>
<PRE>
protected java.lang.String <B>paramString</B>()</PRE>
<DL>
<DD>Returns a string representation of this JTextArea. This method 
 is intended to be used only for debugging purposes, and the 
 content and format of the returned string may vary between      
 implementations. The returned string may be empty but may not 
 be <code>null</code>.
 <P>
 Overriding paramString() to provide information about the
 specific new aspects of the JFC components.<DD><DL>
<DT><B>Returns:</B><DD>a string representation of this JTextArea.<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/text/JTextComponent.html#paramString()">paramString</A> in class <A HREF="../../javax/swing/text/JTextComponent.html">JTextComponent</A></DL>
</DD>
</DL>
<HR>

<A NAME="getScrollableTracksViewportWidth()"><!-- --></A><H3>
getScrollableTracksViewportWidth</H3>
<PRE>
public boolean <B>getScrollableTracksViewportWidth</B>()</PRE>
<DL>
<DD>Returns true if a viewport should always force the width of this 
 Scrollable to match the width of the viewport.  This is implemented
 to return true if the line wrapping policy is true, and false
 if lines are not being wrapped.<DD><DL>
<DT><B>Returns:</B><DD>true if a viewport should force the Scrollables width
 to match its own.<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/text/JTextComponent.html#getScrollableTracksViewportWidth()">getScrollableTracksViewportWidth</A> in class <A HREF="../../javax/swing/text/JTextComponent.html">JTextComponent</A></DL>
</DD>
</DL>
<HR>

<A NAME="getPreferredScrollableViewportSize()"><!-- --></A><H3>
getPreferredScrollableViewportSize</H3>
<PRE>
public java.awt.Dimension <B>getPreferredScrollableViewportSize</B>()</PRE>
<DL>
<DD>Returns the preferred size of the viewport if this component
 is embedded in a JScrollPane.  This uses the desired column
 and row settings if they have been set, otherwise the superclass
 behavior is used.<DD><DL>
<DT><B>Returns:</B><DD>The preferredSize of a JViewport whose view is this Scrollable.<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/text/JTextComponent.html#getPreferredScrollableViewportSize()">getPreferredScrollableViewportSize</A> in class <A HREF="../../javax/swing/text/JTextComponent.html">JTextComponent</A><DT><B>See Also: </B><DD><A HREF="../../javax/swing/JComponent.html#getPreferredSize()"><CODE>JComponent.getPreferredSize()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getScrollableUnitIncrement(java.awt.Rectangle, int, int)"><!-- --></A><H3>
getScrollableUnitIncrement</H3>
<PRE>
public int <B>getScrollableUnitIncrement</B>(java.awt.Rectangle&nbsp;visibleRect,
                                      int&nbsp;orientation,
                                      int&nbsp;direction)</PRE>
<DL>
<DD>Components that display logical rows or columns should compute
 the scroll increment that will completely expose one new row
 or column, depending on the value of orientation.  This is implemented
 to use the vaules returned by the <code>getRowHeight</code> and
 <code>getColumnWidth</code> methods.
 <p>
 Scrolling containers, like JScrollPane, will use this method
 each time the user requests a unit scroll.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>visibleRect</CODE> - the view area visible within the viewport<DD><CODE>orientation</CODE> - Either SwingConstants.VERTICAL or
   SwingConstants.HORIZONTAL.<DD><CODE>direction</CODE> - Less than zero to scroll up/left,
   greater than zero for down/right.<DT><B>Returns:</B><DD>The "unit" increment for scrolling in the specified direction<DT><B>Throws:</B><DD>java.lang.IllegalArgumentException - for an invalid orientation<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/text/JTextComponent.html#getScrollableUnitIncrement(java.awt.Rectangle, int, int)">getScrollableUnitIncrement</A> in class <A HREF="../../javax/swing/text/JTextComponent.html">JTextComponent</A><DT><B>See Also: </B><DD><A HREF="../../javax/swing/JScrollBar.html#setUnitIncrement(int)"><CODE>JScrollBar.setUnitIncrement(int)</CODE></A>, 
<A HREF="../../javax/swing/JTextArea.html#getRowHeight()"><CODE>getRowHeight()</CODE></A>, 
<A HREF="../../javax/swing/JTextArea.html#getColumnWidth()"><CODE>getColumnWidth()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getAccessibleContext()"><!-- --></A><H3>
getAccessibleContext</H3>
<PRE>
public <A HREF="../../javax/accessibility/AccessibleContext.html">AccessibleContext</A> <B>getAccessibleContext</B>()</PRE>
<DL>
<DD>Get the AccessibleContext associated with this JTextArea.
 Creates a new context if necessary.<DD><DL>
<DT><B>Returns:</B><DD>the AccessibleContext of this JTextArea<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/text/JTextComponent.html#getAccessibleContext()">getAccessibleContext</A> in class <A HREF="../../javax/swing/text/JTextComponent.html">JTextComponent</A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" ID="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> &nbsp;<FONT ID="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="class-use/JTextArea.html"><FONT ID="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-tree.html"><FONT ID="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../deprecated-list.html"><FONT ID="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../index-files/index-1.html"><FONT ID="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../help-doc.html"><FONT ID="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
Swing 1.1</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../javax/swing/JTable.AccessibleJTable.AccessibleJTableCell.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/JTextArea.AccessibleJTextArea.html"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" ID="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../index.html" TARGET="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="JTextArea.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;<A HREF="#inner_class_summary">INNER</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_javax.swing.text.JTextComponent">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
<font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>Java is a trademark or registered trademark of Sun Microsystems,  Inc. in the US and other countries.<br>Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road,<br>Palo Alto, California, 94303, U.S.A.  All Rights Reserved.</font>
</BODY>
</HTML>
