<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Wed Jul 28 01:21:15 GMT 1999 -->
<title>
  Class java.awt.TextArea
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.awt.html">This Package</a>  <a href="java.awt.SystemColor.html#_top_">Previous</a>  <a href="java.awt.TextComponent.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Class java.awt.TextArea
</h1>
<pre>
<a href="java.lang.Object.html#_top_">java.lang.Object</a>
   |
   +----<a href="java.awt.Component.html#_top_">java.awt.Component</a>
           |
           +----<a href="java.awt.TextComponent.html#_top_">java.awt.TextComponent</a>
                   |
                   +----java.awt.TextArea
</pre>
<hr>
<dl>
  <dt> public class <b>TextArea</b>
  <dt> extends <a href="java.awt.TextComponent.html#_top_">TextComponent</a>
</dl>
A <code>TextArea</code> object is a multi-line region
 that displays text. It can be set to allow editing or
 to be read-only.
 <p>
 The following image shows the appearance of a text area:
 <p>
 <img src="images-awt/TextArea-1.gif"
 ALIGN=center HSPACE=10 VSPACE=7>
 <p>
 This text area could be created by the following line of code:
 <p>
 <hr><blockquote><pre>
 new TextArea("Hello", 5, 40);
 </pre></blockquote><hr>
 <p>
<p>
<hr>
<a name="index"></a>
<h2>
  <img src="images/variable-index.gif" width=207 height=38 alt="Variable Index">
</h2>
<dl>
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#SCROLLBARS_BOTH"><b>SCROLLBARS_BOTH</b></a>
  <dd>  Create and display both vertical and horizontal scrollbars.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#SCROLLBARS_HORIZONTAL_ONLY"><b>SCROLLBARS_HORIZONTAL_ONLY</b></a>
  <dd>  Create and display horizontal scrollbar only.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#SCROLLBARS_NONE"><b>SCROLLBARS_NONE</b></a>
  <dd>  Do not create or display any scrollbars for the text area.
  <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#SCROLLBARS_VERTICAL_ONLY"><b>SCROLLBARS_VERTICAL_ONLY</b></a>
  <dd>  Create and display vertical scrollbar only.
</dl>
<h2>
  <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index">
</h2>
<dl>
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#TextArea()"><b>TextArea</b></a>()
  <dd>  Constructs a new text area.
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#TextArea(int, int)"><b>TextArea</b></a>(int, int)
  <dd>  Constructs a new empty TextArea with the specified number of
 rows and columns.
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#TextArea(java.lang.String)"><b>TextArea</b></a>(String)
  <dd>  Constructs a new text area with the specified text.
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#TextArea(java.lang.String, int, int)"><b>TextArea</b></a>(String, int, int)
  <dd>  Constructs a new text area with the specified text,
 and with the specified number of rows and columns.
  <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#TextArea(java.lang.String, int, int, int)"><b>TextArea</b></a>(String, int, int, int)
  <dd>  Constructs a new text area with the specified text,
 and with the rows, columns, and scroll bar visibility
 as specified.
</dl>
<h2>
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#addNotify()"><b>addNotify</b></a>()
  <dd>  Creates the TextArea's peer.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#append(java.lang.String)"><b>append</b></a>(String)
  <dd>  Appends the given text to the text area's current text.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#appendText(java.lang.String)"><b>appendText</b></a>(String)
  <dd>  
<b>Deprecated.</b>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getColumns()"><b>getColumns</b></a>()
  <dd>  Gets the number of columns in this text area.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getMinimumSize()"><b>getMinimumSize</b></a>()
  <dd>  Determines the minimum size of this text area.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getMinimumSize(int, int)"><b>getMinimumSize</b></a>(int, int)
  <dd>  Determines the minimum size of a text area with the specified
 number of rows and columns.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getPreferredSize()"><b>getPreferredSize</b></a>()
  <dd>  Determines the preferred size of this text area.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getPreferredSize(int, int)"><b>getPreferredSize</b></a>(int, int)
  <dd>  Determines the preferred size of a text area with the specified
 number of rows and columns.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getRows()"><b>getRows</b></a>()
  <dd>  Gets the number of rows in the text area.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getScrollbarVisibility()"><b>getScrollbarVisibility</b></a>()
  <dd>  Gets an enumerated value that indicates which scroll bars
 the text area uses.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#insert(java.lang.String, int)"><b>insert</b></a>(String, int)
  <dd>  Inserts the specified text at the specified position
 in this text area.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#insertText(java.lang.String, int)"><b>insertText</b></a>(String, int)
  <dd>  
<b>Deprecated.</b>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#minimumSize()"><b>minimumSize</b></a>()
  <dd>  
<b>Deprecated.</b>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#minimumSize(int, int)"><b>minimumSize</b></a>(int, int)
  <dd>  
<b>Deprecated.</b>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#paramString()"><b>paramString</b></a>()
  <dd>  Returns the parameter string representing the state of
 this text area.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#preferredSize()"><b>preferredSize</b></a>()
  <dd>  
<b>Deprecated.</b>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#preferredSize(int, int)"><b>preferredSize</b></a>(int, int)
  <dd>  
<b>Deprecated.</b>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#replaceRange(java.lang.String, int, int)"><b>replaceRange</b></a>(String, int, int)
  <dd>  Replaces text between the indicated start and end positions
 with the specified replacement text.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#replaceText(java.lang.String, int, int)"><b>replaceText</b></a>(String, int, int)
  <dd>  
<b>Deprecated.</b>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setColumns(int)"><b>setColumns</b></a>(int)
  <dd>  Sets the number of columns for this text area.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#setRows(int)"><b>setRows</b></a>(int)
  <dd>  Sets the number of rows for this text area.
</dl>
<a name="variables"></a>
<h2>
  <img src="images/variables.gif" width=153 height=38 alt="Variables">
</h2>
<a name="SCROLLBARS_BOTH"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>SCROLLBARS_BOTH</b>
<pre>
 public static final int SCROLLBARS_BOTH
</pre>
<dl>
  <dd> Create and display both vertical and horizontal scrollbars.<p>
</dl>
<a name="SCROLLBARS_VERTICAL_ONLY"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>SCROLLBARS_VERTICAL_ONLY</b>
<pre>
 public static final int SCROLLBARS_VERTICAL_ONLY
</pre>
<dl>
  <dd> Create and display vertical scrollbar only.<p>
</dl>
<a name="SCROLLBARS_HORIZONTAL_ONLY"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>SCROLLBARS_HORIZONTAL_ONLY</b>
<pre>
 public static final int SCROLLBARS_HORIZONTAL_ONLY
</pre>
<dl>
  <dd> Create and display horizontal scrollbar only.<p>
</dl>
<a name="SCROLLBARS_NONE"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a>
<b>SCROLLBARS_NONE</b>
<pre>
 public static final int SCROLLBARS_NONE
</pre>
<dl>
  <dd> Do not create or display any scrollbars for the text area.<p>
</dl>
<a name="constructors"></a>
<h2>
  <img src="images/constructors.gif" width=231 height=38 alt="Constructors">
</h2>
<a name="TextArea"></a>
<a name="TextArea()"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>TextArea</b>
<pre>
 public TextArea()
</pre>
<dl>
  <dd> Constructs a new text area.
 This text area is created with both vertical and
 horizontal scroll bars.
<p>
</dl>
<a name="TextArea(java.lang.String)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>TextArea</b>
<pre>
 public TextArea(<a href="java.lang.String.html#_top_">String</a> text)
</pre>
<dl>
  <dd> Constructs a new text area with the specified text.
 This text area is created with both vertical and
 horizontal scroll bars.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> text - the text to be displayed.
  </dl></dd>
</dl>
<a name="TextArea(int, int)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>TextArea</b>
<pre>
 public TextArea(int rows,
                 int columns)
</pre>
<dl>
  <dd> Constructs a new empty TextArea with the specified number of
 rows and columns.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> rows - the number of rows
    <dd> columns - the number of columns
  </dl></dd>
</dl>
<a name="TextArea(java.lang.String, int, int)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>TextArea</b>
<pre>
 public TextArea(<a href="java.lang.String.html#_top_">String</a> text,
                 int rows,
                 int columns)
</pre>
<dl>
  <dd> Constructs a new text area with the specified text,
 and with the specified number of rows and columns.
 This text area is created with both vertical and
 horizontal scroll bars.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> text - the text to be displayed.
    <dd> rows - the number of rows.
    <dd> columns - the number of columns.
  </dl></dd>
</dl>
<a name="TextArea(java.lang.String, int, int, int)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a>
<b>TextArea</b>
<pre>
 public TextArea(<a href="java.lang.String.html#_top_">String</a> text,
                 int rows,
                 int columns,
                 int scrollbars)
</pre>
<dl>
  <dd> Constructs a new text area with the specified text,
 and with the rows, columns, and scroll bar visibility
 as specified.
 <p>
 The <code>TextArea</code> class defines several constants
 that can be supplied as values for the
 <code>scrollbars</code> argument:
 <code>SCROLLBARS_BOTH</code>,
 <code>SCROLLBARS_VERTICAL_ONLY</code>,
 <code>SCROLLBARS_HORIZONTAL_ONLY</code>,
 and <code>SCROLLBARS_NEITHER</code>.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> text - the text to be displayed.
    <dd> rows - the number of rows.
    <dd> columns - the number of columns.
    <dd> scrollbars - a constant that determines what
                scrollbars are created to view the text area.
  </dl></dd>
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="addNotify()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="addNotify"><b>addNotify</b></a>
<pre>
 public void addNotify()
</pre>
<dl>
  <dd> Creates the TextArea's peer.  The peer allows us to modify
 the appearance of the TextArea without changing any of its
 functionality.
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.awt.Component.html#addNotify()">addNotify</a> in class <a href="java.awt.Component.html#_top_">Component</a>
  </dl></dd>
</dl>
<a name="insert(java.lang.String, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="insert"><b>insert</b></a>
<pre>
 public void insert(<a href="java.lang.String.html#_top_">String</a> str,
                    int pos)
</pre>
<dl>
  <dd> Inserts the specified text at the specified position
 in this text area.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> str - the text to insert.
    <dd> pos - the position at which to insert.
    <dt> <b>See Also:</b>
    <dd> <a href="java.awt.TextComponent.html#setText">setText</a>, <a href="#replaceRange">replaceRange</a>, <a href="#append">append</a>
  </dl></dd>
</dl>
<a name="insertText(java.lang.String, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="insertText"><b>insertText</b></a>
<pre>
 public synchronized void insertText(<a href="java.lang.String.html#_top_">String</a> str,
                                     int pos)
</pre>
<dl>
<dd><b> Note: insertText() is deprecated.</b>
<i>As of JDK version 1.1,
 replaced by <code>insert(String, int)</code>.</i>
<p>
</dl>
<a name="append(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="append"><b>append</b></a>
<pre>
 public void append(<a href="java.lang.String.html#_top_">String</a> str)
</pre>
<dl>
  <dd> Appends the given text to the text area's current text.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> str - the text to append.
    <dt> <b>See Also:</b>
    <dd> <a href="#insert">insert</a>
  </dl></dd>
</dl>
<a name="appendText(java.lang.String)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="appendText"><b>appendText</b></a>
<pre>
 public synchronized void appendText(<a href="java.lang.String.html#_top_">String</a> str)
</pre>
<dl>
<dd><b> Note: appendText() is deprecated.</b>
<i>As of JDK version 1.1,
 replaced by <code>append(String)</code>.</i>
<p>
</dl>
<a name="replaceRange(java.lang.String, int, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="replaceRange"><b>replaceRange</b></a>
<pre>
 public void replaceRange(<a href="java.lang.String.html#_top_">String</a> str,
                          int start,
                          int end)
</pre>
<dl>
  <dd> Replaces text between the indicated start and end positions
 with the specified replacement text.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> str - the text to use as the replacement.
    <dd> start - the start position.
    <dd> end - the end position.
    <dt> <b>See Also:</b>
    <dd> <a href="#insert">insert</a>
  </dl></dd>
</dl>
<a name="replaceText(java.lang.String, int, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="replaceText"><b>replaceText</b></a>
<pre>
 public synchronized void replaceText(<a href="java.lang.String.html#_top_">String</a> str,
                                      int start,
                                      int end)
</pre>
<dl>
<dd><b> Note: replaceText() is deprecated.</b>
<i>As of JDK version 1.1,
 replaced by <code>replaceRange(String, int, int)</code>.</i>
<p>
</dl>
<a name="getRows()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getRows"><b>getRows</b></a>
<pre>
 public int getRows()
</pre>
<dl>
  <dd> Gets the number of rows in the text area.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the number of rows in the text area.
    <dt> <b>See Also:</b>
    <dd> <a href="#setRows">setRows</a>, <a href="#getColumns">getColumns</a>
  </dl></dd>
</dl>
<a name="setRows(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setRows"><b>setRows</b></a>
<pre>
 public void setRows(int rows)
</pre>
<dl>
  <dd> Sets the number of rows for this text area.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> rows - the number of rows.
    <dt> <b>Throws:</b> <a href="java.lang.IllegalArgumentException.html#_top_">IllegalArgumentException</a>
    <dd> if the value supplied
                  for <code>rows</code> is less than zero.
    <dt> <b>See Also:</b>
    <dd> <a href="#getRows">getRows</a>, <a href="#setColumns">setColumns</a>
  </dl></dd>
</dl>
<a name="getColumns()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getColumns"><b>getColumns</b></a>
<pre>
 public int getColumns()
</pre>
<dl>
  <dd> Gets the number of columns in this text area.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the number of columns in the text area.
    <dt> <b>See Also:</b>
    <dd> <a href="#setColumns">setColumns</a>, <a href="#getRows">getRows</a>
  </dl></dd>
</dl>
<a name="setColumns(int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="setColumns"><b>setColumns</b></a>
<pre>
 public void setColumns(int columns)
</pre>
<dl>
  <dd> Sets the number of columns for this text area.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> columns - the number of columns.
    <dt> <b>Throws:</b> <a href="java.lang.IllegalArgumentException.html#_top_">IllegalArgumentException</a>
    <dd> if the value supplied
                  for <code>columns</code> is less than zero.
    <dt> <b>See Also:</b>
    <dd> <a href="#getColumns">getColumns</a>, <a href="#setRows">setRows</a>
  </dl></dd>
</dl>
<a name="getScrollbarVisibility()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getScrollbarVisibility"><b>getScrollbarVisibility</b></a>
<pre>
 public int getScrollbarVisibility()
</pre>
<dl>
  <dd> Gets an enumerated value that indicates which scroll bars
 the text area uses.
 <p>
 The <code>TextArea</code> class defines four integer constants
 that are used to specify which scroll bars are available.
 <code>TextArea</code> has one constructor that gives the
 application discretion over scroll bars.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> an integer that indicates which scroll bars are used.
    <dt> <b>See Also:</b>
    <dd> <a href="#SCROLLBARS_BOTH">SCROLLBARS_BOTH</a>, <a href="#SCROLLBARS_VERTICAL_ONLY">SCROLLBARS_VERTICAL_ONLY</a>, <a href="#SCROLLBARS_HORIZONTAL_ONLY">SCROLLBARS_HORIZONTAL_ONLY</a>, <a href="#SCROLLBARS_NEITHER">SCROLLBARS_NEITHER</a>, <a href="#TextArea(java.lang.String, int, int, int)">TextArea</a>
  </dl></dd>
</dl>
<a name="getPreferredSize(int, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getPreferredSize"><b>getPreferredSize</b></a>
<pre>
 public <a href="java.awt.Dimension.html#_top_">Dimension</a> getPreferredSize(int rows,
                                   int columns)
</pre>
<dl>
  <dd> Determines the preferred size of a text area with the specified
 number of rows and columns.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> rows - the number of rows.
    <dd> cols - the number of columns.
    <dt> <b>Returns:</b>
    <dd> the preferred dimensions required to display
                       the text area with the specified
                       number of rows and columns.
    <dt> <b>See Also:</b>
    <dd> <a href="java.awt.Component.html#getPreferredSize">getPreferredSize</a>
  </dl></dd>
</dl>
<a name="preferredSize(int, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="preferredSize"><b>preferredSize</b></a>
<pre>
 public <a href="java.awt.Dimension.html#_top_">Dimension</a> preferredSize(int rows,
                                int columns)
</pre>
<dl>
<dd><b> Note: preferredSize() is deprecated.</b>
<i>As of JDK version 1.1,
 replaced by <code>getPreferredSize(int, int)</code>.</i>
<p>
</dl>
<a name="getPreferredSize()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getPreferredSize"><b>getPreferredSize</b></a>
<pre>
 public <a href="java.awt.Dimension.html#_top_">Dimension</a> getPreferredSize()
</pre>
<dl>
  <dd> Determines the preferred size of this text area.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the preferred dimensions needed for this text area.
    <dt> <b>Overrides:</b>
    <dd> <a href="java.awt.Component.html#getPreferredSize()">getPreferredSize</a> in class <a href="java.awt.Component.html#_top_">Component</a>
    <dt> <b>See Also:</b>
    <dd> <a href="java.awt.Component.html#getPreferredSize">getPreferredSize</a>
  </dl></dd>
</dl>
<a name="preferredSize()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="preferredSize"><b>preferredSize</b></a>
<pre>
 public <a href="java.awt.Dimension.html#_top_">Dimension</a> preferredSize()
</pre>
<dl>
<dd><b> Note: preferredSize() is deprecated.</b>
<i>As of JDK version 1.1,
 replaced by <code>getPreferredSize()</code>.</i>
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.awt.Component.html#preferredSize()">preferredSize</a> in class <a href="java.awt.Component.html#_top_">Component</a>
  </dl></dd>
</dl>
<a name="getMinimumSize(int, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getMinimumSize"><b>getMinimumSize</b></a>
<pre>
 public <a href="java.awt.Dimension.html#_top_">Dimension</a> getMinimumSize(int rows,
                                 int columns)
</pre>
<dl>
  <dd> Determines the minimum size of a text area with the specified
 number of rows and columns.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> rows - the number of rows.
    <dd> cols - the number of columns.
    <dt> <b>Returns:</b>
    <dd> the minimum dimensions required to display
                       the text area with the specified
                       number of rows and columns.
    <dt> <b>See Also:</b>
    <dd> <a href="java.awt.Component.html#getMinimumSize">getMinimumSize</a>
  </dl></dd>
</dl>
<a name="minimumSize(int, int)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="minimumSize"><b>minimumSize</b></a>
<pre>
 public <a href="java.awt.Dimension.html#_top_">Dimension</a> minimumSize(int rows,
                              int columns)
</pre>
<dl>
<dd><b> Note: minimumSize() is deprecated.</b>
<i>As of JDK version 1.1,
 replaced by <code>getMinimumSize(int, int)</code>.</i>
<p>
</dl>
<a name="getMinimumSize()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getMinimumSize"><b>getMinimumSize</b></a>
<pre>
 public <a href="java.awt.Dimension.html#_top_">Dimension</a> getMinimumSize()
</pre>
<dl>
  <dd> Determines the minimum size of this text area.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the preferred dimensions needed for this text area.
    <dt> <b>Overrides:</b>
    <dd> <a href="java.awt.Component.html#getMinimumSize()">getMinimumSize</a> in class <a href="java.awt.Component.html#_top_">Component</a>
    <dt> <b>See Also:</b>
    <dd> <a href="java.awt.Component.html#getPreferredSize">getPreferredSize</a>
  </dl></dd>
</dl>
<a name="minimumSize()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="minimumSize"><b>minimumSize</b></a>
<pre>
 public <a href="java.awt.Dimension.html#_top_">Dimension</a> minimumSize()
</pre>
<dl>
<dd><b> Note: minimumSize() is deprecated.</b>
<i>As of JDK version 1.1,
 replaced by <code>getMinimumSize()</code>.</i>
<p>
  <dd><dl>
    <dt> <b>Overrides:</b>
    <dd> <a href="java.awt.Component.html#minimumSize()">minimumSize</a> in class <a href="java.awt.Component.html#_top_">Component</a>
  </dl></dd>
</dl>
<a name="paramString()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="paramString"><b>paramString</b></a>
<pre>
 protected <a href="java.lang.String.html#_top_">String</a> paramString()
</pre>
<dl>
  <dd> Returns the parameter string representing the state of
 this text area. This string is useful for debugging.
<p>
  <dd><dl>
    <dt> <b>Returns:</b>
    <dd> the parameter string of this text area.
    <dt> <b>Overrides:</b>
    <dd> <a href="java.awt.TextComponent.html#paramString()">paramString</a> in class <a href="java.awt.TextComponent.html#_top_">TextComponent</a>
  </dl></dd>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.awt.html">This Package</a>  <a href="java.awt.SystemColor.html#_top_">Previous</a>  <a href="java.awt.TextComponent.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
