<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 05:57:10 GMT+01:00 1999 -->
<TITLE>
Swing 1.1 API Specification: Class  JTextField
</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/JTextField.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/JTextArea.AccessibleJTextArea.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/JTextField.AccessibleJTextField.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="JTextField.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="#field_summary">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;<A HREF="#field_detail">FIELD</A>&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  JTextField</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.JTextField</B>
</PRE>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../javax/swing/tree/DefaultTreeCellEditor.DefaultTextField.html">DefaultTreeCellEditor.DefaultTextField</A>, <A HREF="../../javax/swing/JPasswordField.html">JPasswordField</A></DD>
</DL>
<HR>
<DL>
<DT>public class <B>JTextField</B><DT>extends <A HREF="../../javax/swing/text/JTextComponent.html">JTextComponent</A><DT>implements <A HREF="../../javax/swing/SwingConstants.html">SwingConstants</A></DL>

<P>
JTextField is a lightweight component that allows the editing 
 of a single line of text.  It is intended to be source-compatible
 with java.awt.TextField where it is reasonable to do so.  This
 component has capabilities not found in the java.awt.TextField 
 class.  The superclass should be consulted for additional capabilities.
 <p>
 JTextField has a method to establish the string used as the
 command string for the action event that gets fired.  The
 java.awt.TextField used the text of the field as the command
 string for the ActionEvent.  JTextField will use the command
 string set with the <code>setActionCommand</code> method if not null, 
 otherwise it will use the text of the field as a compatibility with 
 java.awt.TextField.
 <p>
 The method <code>setEchoChar</code> and <code>getEchoChar</code>
 are not provided directly to avoid a new implementation of a
 pluggable look-and-feel inadvertantly exposing password characters.
 To provide password-like services a seperate class JPasswordField
 extends JTextField to provide this service with an independantly
 pluggable look-and-feel.
 <p>
 The java.awt.TextField 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 = ??;
    JTextField myArea = ??;
    myArea.getDocument().addDocumentListener(myListener);
 </code></pre>
 <p>
 The horizontal alignment of JTextField can be set to be left
 justified, centered, or right justified if the required size
 of the field text is smaller than the size allocated to it.
 This is determined by the <code>setHorizontalAlignment</code>
 and <code>getHorizontalAlignment</code> methods.  The default
 is to be left justified.
 <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#JTextField">JTextField</a> key assignments.
 <p>
 For compatibility with java.awt.TextField, the VK_ENTER key fires
 the ActionEvent to the registered ActionListeners.  However, awt
 didn't have default buttons like swing does.  If a text field has
 focus and the VK_ENTER key is pressed, it will fire the fields
 ActionEvent rather than activate the default button.  To disable
 the compatibility with awt for text fields, the following code
 fragment will remove the binding of VK_ENTER from the default keymap
 used by all JTextFields if that is desired.
 <pre><code>

static {
JTextField f = new JTextField();
KeyStroke enter = KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0);
Keymap map = f.getKeymap();
map.removeKeyStrokeBinding(enter);
}

 </code></pre>
 <p>
 Customized fields can easily be created by extending the model and
 changing the default model provided.  For example, the following piece
 of code will create a field that holds only upper case characters.  It
 will work even if text is pasted into from the clipboard or it is altered via 
 programmatic changes.
 <pre><code>

public class UpperCaseField extends JTextField {

public UpperCaseField(int cols) {
super(cols);
}

protected Document createDefaultModel() {
return new UpperCaseDocument();
}

static class UpperCaseDocument extends PlainDocument {

public void insertString(int offs, String str, AttributeSet a) 
throws BadLocationException {

if (str == null) {
return;
}
char[] upper = str.toCharArray();
for (int i = 0; i < upper.length; i++) {
upper[i] = Character.toUpperCase(upper[i]);
}
super.insertString(offs, new String(upper), a);
}
}
}

 </code></pre>
 <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/JTextField.html#setActionCommand(java.lang.String)"><CODE>setActionCommand(java.lang.String)</CODE></A>, 
<A HREF="../../javax/swing/JPasswordField.html"><CODE>JPasswordField</CODE></A>, <A HREF="../../serialized-form.html#javax.swing.JTextField">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/JTextField.AccessibleJTextField.html">JTextField.AccessibleJTextField</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="field_summary"><!-- --></A>
<TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" ID="TableHeadingColor">
<TD COLSPAN=2><FONT SIZE="+2">
<B>Field Summary</B></FONT></TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextField.html#notifyAction">notifyAction</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Name of the action to send notification that the
 contents of the field have been accepted.</TD>
</TR>
</TABLE>
&nbsp;<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/JTextField.html#JTextField()">JTextField</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new TextField.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JTextField.html#JTextField(javax.swing.text.Document, java.lang.String, int)">JTextField</A></B>(<A HREF="../../javax/swing/text/Document.html">Document</A>&nbsp;doc,
           java.lang.String&nbsp;text,
           int&nbsp;columns)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new JTextField that uses the given text storage
 model and the given number of columns.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JTextField.html#JTextField(int)">JTextField</A></B>(int&nbsp;columns)</CODE>

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

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

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a new TextField initialized with the specified text
 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/JTextField.html#addActionListener(java.awt.event.ActionListener)">addActionListener</A></B>(java.awt.event.ActionListener&nbsp;l)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds the specified action listener to receive 
 action events from this textfield.</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/JTextField.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>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextField.html#fireActionPerformed()">fireActionPerformed</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Notifies all listeners that have registered interest for
 notification on this event type.</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/JTextField.html#getAccessibleContext()">getAccessibleContext</A></B>()</CODE>

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

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Fetches the command list for the editor.</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/JTextField.html#getColumns()">getColumns</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the number of columns in this TextField.</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/JTextField.html#getColumnWidth()">getColumnWidth</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the 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/JTextField.html#getHorizontalAlignment()">getHorizontalAlignment</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the horizontal alignment of the text.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../javax/swing/BoundedRangeModel.html">BoundedRangeModel</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JTextField.html#getHorizontalVisibility()">getHorizontalVisibility</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the visibility of the text field.</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/JTextField.html#getPreferredSize()">getPreferredSize</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the preferred size Dimensions needed for this 
 TextField.</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/JTextField.html#getScrollOffset()">getScrollOffset</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the scroll offset.</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/JTextField.html#getUIClassID()">getUIClassID</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the class ID for a 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/JTextField.html#isValidateRoot()">isValidateRoot</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calls to revalidate that come from within the textfield itself will
 be handled by validating the textfield.</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/JTextField.html#paramString()">paramString</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string representation of this JTextField.</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/JTextField.html#postActionEvent()">postActionEvent</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Processes action events occurring on this textfield by
 dispatching them to any registered ActionListener objects.</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/JTextField.html#removeActionListener(java.awt.event.ActionListener)">removeActionListener</A></B>(java.awt.event.ActionListener&nbsp;l)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Removes the specified action listener so that it no longer
 receives action events from this textfield.</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/JTextField.html#scrollRectToVisible(java.awt.Rectangle)">scrollRectToVisible</A></B>(java.awt.Rectangle&nbsp;r)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Scrolls the field left or right.</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/JTextField.html#setActionCommand(java.lang.String)">setActionCommand</A></B>(java.lang.String&nbsp;command)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the command string used for action events.</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/JTextField.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 in this TextField, and then invalidate
 the layout.</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/JTextField.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/JTextField.html#setHorizontalAlignment(int)">setHorizontalAlignment</A></B>(int&nbsp;alignment)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the horizontal alignment of the text.</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/JTextField.html#setScrollOffset(int)">setScrollOffset</A></B>(int&nbsp;scrollOffset)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the scroll offset.</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#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#getPreferredScrollableViewportSize()">getPreferredScrollableViewportSize</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#getScrollableTracksViewportWidth()">getScrollableTracksViewportWidth</A>, 
<A HREF="../../javax/swing/text/JTextComponent.html#getScrollableUnitIncrement(java.awt.Rectangle, int, int)">getScrollableUnitIncrement</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#processComponentKeyEvent(java.awt.event.KeyEvent)">processComponentKeyEvent</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#isManagingFocus()">isManagingFocus</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#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#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 =========== -->

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

<A NAME="notifyAction"><!-- --></A><H3>
notifyAction</H3>
<PRE>
public static final java.lang.String <B>notifyAction</B></PRE>
<DL>
<DD>Name of the action to send notification that the
 contents of the field have been accepted.  Typically
 this is bound to a carriage-return.</DL>

<!-- ========= 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="JTextField()"><!-- --></A><H3>
JTextField</H3>
<PRE>
public <B>JTextField</B>()</PRE>
<DL>
<DD>Constructs a new TextField.  A default model is created, the initial
 string is null, and the number of columns is set to 0.</DL>
<HR>

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

<A NAME="JTextField(int)"><!-- --></A><H3>
JTextField</H3>
<PRE>
public <B>JTextField</B>(int&nbsp;columns)</PRE>
<DL>
<DD>Constructs a new empty TextField with the specified number of columns.
 A default model is created and the initial string is set to null.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>columns</CODE> - the number of columns to use to calculate 
   the preferred width.  If columns is set to zero, the
   preferred width will be whatever naturally results from
   the component implementation.</DL>
</DD>
</DL>
<HR>

<A NAME="JTextField(java.lang.String, int)"><!-- --></A><H3>
JTextField</H3>
<PRE>
public <B>JTextField</B>(java.lang.String&nbsp;text,
                  int&nbsp;columns)</PRE>
<DL>
<DD>Constructs a new TextField initialized with the specified text
 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>columns</CODE> - the number of columns to use to calculate 
   the preferred width.  If columns is set to zero, the
   preferred width will be whatever naturally results from
   the component implementation.</DL>
</DD>
</DL>
<HR>

<A NAME="JTextField(javax.swing.text.Document, java.lang.String, int)"><!-- --></A><H3>
JTextField</H3>
<PRE>
public <B>JTextField</B>(<A HREF="../../javax/swing/text/Document.html">Document</A>&nbsp;doc,
                  java.lang.String&nbsp;text,
                  int&nbsp;columns)</PRE>
<DL>
<DD>Constructs a new JTextField that uses the given text storage
 model and the given number of columns.  This is the constructor
 through which the other constructors feed.  If the document is null,
 a default model is created.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>doc</CODE> - the text storage to use.  If this is null, a default
   will be provided by calling the createDefaultModel method.<DD><CODE>text</CODE> - the initial string to display, or null<DD><CODE>columns</CODE> - the number of columns to use to calculate 
   the preferred width >= 0.  If columns is set to zero, the
   preferred width will be whatever naturally results from
   the component implementation.<DT><B>Throws:</B><DD>java.lang.IllegalArgumentException - if 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>Gets the class ID for a UI.<DD><DL>
<DT><B>Returns:</B><DD>the ID ("TextFieldUI")<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="isValidateRoot()"><!-- --></A><H3>
isValidateRoot</H3>
<PRE>
public boolean <B>isValidateRoot</B>()</PRE>
<DL>
<DD>Calls to revalidate that come from within the textfield itself will
 be handled by validating the textfield.<DD><DL>
<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/JComponent.html#isValidateRoot()">isValidateRoot</A> in class <A HREF="../../javax/swing/JComponent.html">JComponent</A><DT><B>See Also: </B><DD><A HREF="../../javax/swing/JComponent.html#revalidate()"><CODE>JComponent.revalidate()</CODE></A>, 
<A HREF="../../javax/swing/JComponent.html#isValidateRoot()"><CODE>JComponent.isValidateRoot()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getHorizontalAlignment()"><!-- --></A><H3>
getHorizontalAlignment</H3>
<PRE>
public int <B>getHorizontalAlignment</B>()</PRE>
<DL>
<DD>Returns the horizontal alignment of the text.
 Valid keys: JTextField.LEFT (the default), JTextField.CENTER,
 JTextField.RIGHT.<DD><DL>
<DT><B>Returns:</B><DD>the alignment</DL>
</DD>
</DL>
<HR>

<A NAME="setHorizontalAlignment(int)"><!-- --></A><H3>
setHorizontalAlignment</H3>
<PRE>
public void <B>setHorizontalAlignment</B>(int&nbsp;alignment)</PRE>
<DL>
<DD>Sets the horizontal alignment of the text.
 Valid keys: JTextField.LEFT (the default), JTextField.CENTER,
 JTextField.RIGHT.  invalidate() and repaint() are called when the
 alignment is set, and a PropertyChange event ("horizontalAlignment")
 is fired.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>alignment</CODE> - the alignment<DT><B>Throws:</B><DD>java.lang.IllegalArgumentException - if the alignment
  specified is not a valid key.</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.  An instance of PlainDocument is returned.<DD><DL>
<DT><B>Returns:</B><DD>the default model implementation</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 this TextField.<DD><DL>
<DT><B>Returns:</B><DD>the 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 in this TextField, and then invalidate
 the layout.<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</DL>
</DD>
</DL>
<HR>

<A NAME="getColumnWidth()"><!-- --></A><H3>
getColumnWidth</H3>
<PRE>
protected int <B>getColumnWidth</B>()</PRE>
<DL>
<DD>Gets the 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 Dimensions needed for this 
 TextField.  If a non-zero number of columns has been
 set, the width is set to the columns multiplied by
 the column width.<DD><DL>
<DT><B>Returns:</B><DD>the dimensions<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.  revalidate() is called
 after setting the font.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>f</CODE> - the new 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="addActionListener(java.awt.event.ActionListener)"><!-- --></A><H3>
addActionListener</H3>
<PRE>
public void <B>addActionListener</B>(java.awt.event.ActionListener&nbsp;l)</PRE>
<DL>
<DD>Adds the specified action listener to receive 
 action events from this textfield.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>l</CODE> - the action listener</DL>
</DD>
</DL>
<HR>

<A NAME="removeActionListener(java.awt.event.ActionListener)"><!-- --></A><H3>
removeActionListener</H3>
<PRE>
public void <B>removeActionListener</B>(java.awt.event.ActionListener&nbsp;l)</PRE>
<DL>
<DD>Removes the specified action listener so that it no longer
 receives action events from this textfield.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>l</CODE> - the action listener</DL>
</DD>
</DL>
<HR>

<A NAME="fireActionPerformed()"><!-- --></A><H3>
fireActionPerformed</H3>
<PRE>
protected void <B>fireActionPerformed</B>()</PRE>
<DL>
<DD>Notifies all listeners that have registered interest for
 notification on this event type.  The event instance 
 is lazily created using the parameters passed into 
 the fire method.  The listener list is processed in last to
 first order.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/event/EventListenerList.html"><CODE>EventListenerList</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setActionCommand(java.lang.String)"><!-- --></A><H3>
setActionCommand</H3>
<PRE>
public void <B>setActionCommand</B>(java.lang.String&nbsp;command)</PRE>
<DL>
<DD>Sets the command string used for action events.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>command</CODE> - the command string</DL>
</DD>
</DL>
<HR>

<A NAME="getActions()"><!-- --></A><H3>
getActions</H3>
<PRE>
public <A HREF="../../javax/swing/Action.html">Action</A>[] <B>getActions</B>()</PRE>
<DL>
<DD>Fetches the command list for the editor.  This is
 the list of commands supported by the plugged-in UI
 augmented by the collection of commands that the
 editor itself supports.  These are useful for binding
 to events, such as in a keymap.<DD><DL>
<DT><B>Returns:</B><DD>the command list<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/text/JTextComponent.html#getActions()">getActions</A> in class <A HREF="../../javax/swing/text/JTextComponent.html">JTextComponent</A></DL>
</DD>
</DL>
<HR>

<A NAME="postActionEvent()"><!-- --></A><H3>
postActionEvent</H3>
<PRE>
public void <B>postActionEvent</B>()</PRE>
<DL>
<DD>Processes action events occurring on this textfield by
 dispatching them to any registered ActionListener objects.
 This is normally called by the controller registered with
 textfield.<DD><DL>
</DL>
</DD>
</DL>
<HR>

<A NAME="getHorizontalVisibility()"><!-- --></A><H3>
getHorizontalVisibility</H3>
<PRE>
public <A HREF="../../javax/swing/BoundedRangeModel.html">BoundedRangeModel</A> <B>getHorizontalVisibility</B>()</PRE>
<DL>
<DD>Gets the visibility of the text field.  This can
 be adjusted to change the location of the visible
 area if the size of the field is greater than
 the area that was allocated to the field.

 The fields look-and-feel implementation manages
 the values of the minimum, maximum, and extent
 properties on the BoundedRangeModel.<DD><DL>
<DT><B>Returns:</B><DD>the visibility<DT><B>See Also: </B><DD><A HREF="../../javax/swing/BoundedRangeModel.html"><CODE>BoundedRangeModel</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getScrollOffset()"><!-- --></A><H3>
getScrollOffset</H3>
<PRE>
public int <B>getScrollOffset</B>()</PRE>
<DL>
<DD>Gets the scroll offset.<DD><DL>
<DT><B>Returns:</B><DD>the offset >= 0</DL>
</DD>
</DL>
<HR>

<A NAME="setScrollOffset(int)"><!-- --></A><H3>
setScrollOffset</H3>
<PRE>
public void <B>setScrollOffset</B>(int&nbsp;scrollOffset)</PRE>
<DL>
<DD>Sets the scroll offset.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>scrollOffset</CODE> - the offset >= 0</DL>
</DD>
</DL>
<HR>

<A NAME="scrollRectToVisible(java.awt.Rectangle)"><!-- --></A><H3>
scrollRectToVisible</H3>
<PRE>
public void <B>scrollRectToVisible</B>(java.awt.Rectangle&nbsp;r)</PRE>
<DL>
<DD>Scrolls the field left or right.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>r</CODE> - the region to scroll<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/JComponent.html#scrollRectToVisible(java.awt.Rectangle)">scrollRectToVisible</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 JTextField. 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 JTextField.<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="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 JTextField.
 Creates a new context if necessary.<DD><DL>
<DT><B>Returns:</B><DD>the AccessibleContext of this JTextField<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/JTextField.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/JTextArea.AccessibleJTextArea.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/JTextField.AccessibleJTextField.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="JTextField.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="#field_summary">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;<A HREF="#field_detail">FIELD</A>&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>
