<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 05:56:06 GMT+01:00 1999 -->
<TITLE>
Swing 1.1 API Specification: Class  JLabel
</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/JLabel.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/JInternalFrame.JDesktopIcon.AccessibleJDesktopIcon.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/JLabel.AccessibleJLabel.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="JLabel.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  JLabel</H2>
<PRE>
java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--<A HREF="../../javax/swing/JComponent.html">javax.swing.JComponent</A>
                    |
                    +--<B>javax.swing.JLabel</B>
</PRE>
<DL>
<DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../javax/swing/plaf/basic/BasicComboBoxRenderer.html">BasicComboBoxRenderer</A>, <A HREF="../../javax/swing/DefaultListCellRenderer.html">DefaultListCellRenderer</A>, <A HREF="../../javax/swing/table/DefaultTableCellRenderer.html">DefaultTableCellRenderer</A>, <A HREF="../../javax/swing/tree/DefaultTreeCellRenderer.html">DefaultTreeCellRenderer</A></DD>
</DL>
<HR>
<DL>
<DT>public class <B>JLabel</B><DT>extends <A HREF="../../javax/swing/JComponent.html">JComponent</A><DT>implements <A HREF="../../javax/swing/SwingConstants.html">SwingConstants</A>, <A HREF="../../javax/accessibility/Accessible.html">Accessible</A></DL>

<P>
A display area for a short text string or an image,
 or both.
 A label does not react to input events.
 As a result, it cannot get the keyboard focus.
 A label can, however, display a keyboard alternative
 as a convenience for a nearby component
 that has a keyboard alternative but can't display it.
 <p>
 A <code>JLabel</code> object can display
 either text, an image, or both.
 You can specify where in the label's display area
 the label's contents are aligned
 by setting the vertical and horizontal alignment.
 By default, labels are vertically centered 
 in their display area.
 Text-only labels are left-aligned, by default;
 image-only labels are horizontally centered, by default.
 <p>
 You can also specify the position of the text
 relative to the image.
 By default, text is to the right of the image,
 with the text and image vertically aligned.
 <p>
 Finally, you can use the <code>setIconTextGap</code> method
 to specify how many pixels
 should appear between the text and the image.
 The default is 4 pixels.
 <p>
 See <a href="http://java.sun.com/docs/books/tutorial/ui/swing/label.html">How to Use Labels</a>
 in <a href="http://java.sun.com/Series/Tutorial/index.html"><em>The Java Tutorial</em></a>
 for further documentation.
 <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="../../serialized-form.html#javax.swing.JLabel">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/JLabel.AccessibleJLabel.html">JLabel.AccessibleJLabel</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.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>protected &nbsp;java.awt.Component</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JLabel.html#labelFor">labelFor</A></B></CODE>

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

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a <code>JLabel</code> instance with 
 no image and with an empty string for the title.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JLabel.html#JLabel(javax.swing.Icon)">JLabel</A></B>(<A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;image)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a <code>JLabel</code> instance with the specified image.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JLabel.html#JLabel(javax.swing.Icon, int)">JLabel</A></B>(<A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;image,
       int&nbsp;horizontalAlignment)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a <code>JLabel</code> instance with the specified
 image and horizontal alignment.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JLabel.html#JLabel(java.lang.String)">JLabel</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a <code>JLabel</code> instance with the specified text.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JLabel.html#JLabel(java.lang.String, javax.swing.Icon, int)">JLabel</A></B>(java.lang.String&nbsp;text,
       <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon,
       int&nbsp;horizontalAlignment)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a <code>JLabel</code> instance with the specified
 text, image, and horizontal alignment.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JLabel.html#JLabel(java.lang.String, int)">JLabel</A></B>(java.lang.String&nbsp;text,
       int&nbsp;horizontalAlignment)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a <code>JLabel</code> instance with the specified
 text and horizontal alignment.</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>protected &nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JLabel.html#checkHorizontalKey(int, java.lang.String)">checkHorizontalKey</A></B>(int&nbsp;key,
                   java.lang.String&nbsp;message)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Verify that key is a legal value for the horizontalAlignment properties.</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/JLabel.html#checkVerticalKey(int, java.lang.String)">checkVerticalKey</A></B>(int&nbsp;key,
                 java.lang.String&nbsp;message)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Verify that key is a legal value for the 
 verticalAlignment or verticalTextPosition properties.</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/JLabel.html#getAccessibleContext()">getAccessibleContext</A></B>()</CODE>

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

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value of the disabledIcon property if it's been set,
 If it hasn't been set and the value of the icon property is
 an ImageIcon, we compute a "grayed out" version of the icon and
 update the disabledIcon property with that.</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/JLabel.html#getDisplayedMnemonic()">getDisplayedMnemonic</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the keycode that indicates a mnemonic key.</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/JLabel.html#getHorizontalAlignment()">getHorizontalAlignment</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the alignment of the label's contents along the X axis.</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/JLabel.html#getHorizontalTextPosition()">getHorizontalTextPosition</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the horizontal position of the label's text,
 relative to its image.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../javax/swing/Icon.html">Icon</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JLabel.html#getIcon()">getIcon</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the graphic image (glyph, icon) that the label displays.</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/JLabel.html#getIconTextGap()">getIconTextGap</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the amount of space between the text and the icon
 displayed in this label.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Component</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JLabel.html#getLabelFor()">getLabelFor</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the component this is labelling.</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/JLabel.html#getText()">getText</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the text string that the label displays.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../javax/swing/plaf/LabelUI.html">LabelUI</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JLabel.html#getUI()">getUI</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the L&F object that renders this component.</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/JLabel.html#getUIClassID()">getUIClassID</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string that specifies the name of the l&f class
 that renders this component.</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/JLabel.html#getVerticalAlignment()">getVerticalAlignment</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the alignment of the label's contents along the Y axis.</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/JLabel.html#getVerticalTextPosition()">getVerticalTextPosition</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the vertical position of the label's text,
 relative to its image.</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/JLabel.html#paramString()">paramString</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string representation of this JLabel.</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/JLabel.html#setDisabledIcon(javax.swing.Icon)">setDisabledIcon</A></B>(<A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;disabledIcon)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the icon to be displayed if this JLabel is "disabled", i.e.</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/JLabel.html#setDisplayedMnemonic(char)">setDisplayedMnemonic</A></B>(char&nbsp;aChar)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specifies the displayedMnemonic as a char value.</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/JLabel.html#setDisplayedMnemonic(int)">setDisplayedMnemonic</A></B>(int&nbsp;key)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specify a keycode that indicates a mnemonic key.</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/JLabel.html#setHorizontalAlignment(int)">setHorizontalAlignment</A></B>(int&nbsp;alignment)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the alignment of the label's contents along the X axis.</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/JLabel.html#setHorizontalTextPosition(int)">setHorizontalTextPosition</A></B>(int&nbsp;textPosition)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the horizontal position of the label's text,
 relative to its image.</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/JLabel.html#setIcon(javax.swing.Icon)">setIcon</A></B>(<A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Defines the icon this component will display.</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/JLabel.html#setIconTextGap(int)">setIconTextGap</A></B>(int&nbsp;iconTextGap)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If both the icon and text properties are set, this property
 defines the space between them.</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/JLabel.html#setLabelFor(java.awt.Component)">setLabelFor</A></B>(java.awt.Component&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the component this is labelling.</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/JLabel.html#setText(java.lang.String)">setText</A></B>(java.lang.String&nbsp;text)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Defines the single line of text this component will display.</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/JLabel.html#setUI(javax.swing.plaf.LabelUI)">setUI</A></B>(<A HREF="../../javax/swing/plaf/LabelUI.html">LabelUI</A>&nbsp;ui)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the L&F object that renders this component.</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/JLabel.html#setVerticalAlignment(int)">setVerticalAlignment</A></B>(int&nbsp;alignment)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the alignment of the label's contents along the Y axis.</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/JLabel.html#setVerticalTextPosition(int)">setVerticalTextPosition</A></B>(int&nbsp;textPosition)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the vertical position of the label's text,
 relative to its image.</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/JLabel.html#updateUI()">updateUI</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Notification from the UIFactory that the L&F
 has changed.</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#getPreferredSize()">getPreferredSize</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#isFocusTraversable()">isFocusTraversable</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#isOpaque()">isOpaque</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#processComponentKeyEvent(java.awt.event.KeyEvent)">processComponentKeyEvent</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#removeNotify()">removeNotify</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#setEnabled(boolean)">setEnabled</A>, 
<A HREF="../../javax/swing/JComponent.html#setFont(java.awt.Font)">setFont</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#setOpaque(boolean)">setOpaque</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="labelFor"><!-- --></A><H3>
labelFor</H3>
<PRE>
protected java.awt.Component <B>labelFor</B></PRE>
<DL>
</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="JLabel(java.lang.String, javax.swing.Icon, int)"><!-- --></A><H3>
JLabel</H3>
<PRE>
public <B>JLabel</B>(java.lang.String&nbsp;text,
              <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon,
              int&nbsp;horizontalAlignment)</PRE>
<DL>
<DD>Creates a <code>JLabel</code> instance with the specified
 text, image, and horizontal alignment.
 The label is centered vertically in its display area.
 The text is to the right of the image.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - The text to be displayed by the label.<DD><CODE>icon</CODE> - The image to be displayed by the label.<DD><CODE>horizontalAlignment</CODE> - One of the following constants
           defined in <code>SwingConstants</code>:
           <code>LEFT</code>,
           <code>CENTER</code>, or
           <code>RIGHT</code>.</DL>
</DD>
</DL>
<HR>

<A NAME="JLabel(java.lang.String, int)"><!-- --></A><H3>
JLabel</H3>
<PRE>
public <B>JLabel</B>(java.lang.String&nbsp;text,
              int&nbsp;horizontalAlignment)</PRE>
<DL>
<DD>Creates a <code>JLabel</code> instance with the specified
 text and horizontal alignment.
 The label is centered vertically in its display area.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - The text to be displayed by the label.<DD><CODE>horizontalAlignment</CODE> - One of the following constants
           defined in <code>SwingConstants</code>:
           <code>LEFT</code>,
           <code>CENTER</code>, or
           <code>RIGHT</code>.</DL>
</DD>
</DL>
<HR>

<A NAME="JLabel(java.lang.String)"><!-- --></A><H3>
JLabel</H3>
<PRE>
public <B>JLabel</B>(java.lang.String&nbsp;text)</PRE>
<DL>
<DD>Creates a <code>JLabel</code> instance with the specified text.
 The label is aligned against the left side of its display area,
 and centered vertically.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>text</CODE> - The text to be displayed by the label.</DL>
</DD>
</DL>
<HR>

<A NAME="JLabel(javax.swing.Icon, int)"><!-- --></A><H3>
JLabel</H3>
<PRE>
public <B>JLabel</B>(<A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;image,
              int&nbsp;horizontalAlignment)</PRE>
<DL>
<DD>Creates a <code>JLabel</code> instance with the specified
 image and horizontal alignment.
 The label is centered vertically in its display area.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>icon</CODE> - The image to be displayed by the label.<DD><CODE>horizontalAlignment</CODE> - One of the following constants
           defined in <code>SwingConstants</code>:
           <code>LEFT</code>,
           <code>CENTER</code>, or
           <code>RIGHT</code>.</DL>
</DD>
</DL>
<HR>

<A NAME="JLabel(javax.swing.Icon)"><!-- --></A><H3>
JLabel</H3>
<PRE>
public <B>JLabel</B>(<A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;image)</PRE>
<DL>
<DD>Creates a <code>JLabel</code> instance with the specified image.
 The label is centered vertically and horizontally
 in its display area.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>icon</CODE> - The image to be displayed by the label.</DL>
</DD>
</DL>
<HR>

<A NAME="JLabel()"><!-- --></A><H3>
JLabel</H3>
<PRE>
public <B>JLabel</B>()</PRE>
<DL>
<DD>Creates a <code>JLabel</code> instance with 
 no image and with an empty string for the title.
 The label is centered vertically 
 in its display area.
 The label's contents, once set, will be displayed at the left 
 of the label's display area.</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="getUI()"><!-- --></A><H3>
getUI</H3>
<PRE>
public <A HREF="../../javax/swing/plaf/LabelUI.html">LabelUI</A> <B>getUI</B>()</PRE>
<DL>
<DD>Returns the L&F object that renders this component.<DD><DL>
<DT><B>Returns:</B><DD>LabelUI object</DL>
</DD>
</DL>
<HR>

<A NAME="setUI(javax.swing.plaf.LabelUI)"><!-- --></A><H3>
setUI</H3>
<PRE>
public void <B>setUI</B>(<A HREF="../../javax/swing/plaf/LabelUI.html">LabelUI</A>&nbsp;ui)</PRE>
<DL>
<DD>Sets the L&F object that renders this component.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ui</CODE> - the LabelUI L&F object<DT><B>See Also: </B><DD><A HREF="../../javax/swing/UIDefaults.html#getUI(javax.swing.JComponent)"><CODE>UIDefaults.getUI(javax.swing.JComponent)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="updateUI()"><!-- --></A><H3>
updateUI</H3>
<PRE>
public void <B>updateUI</B>()</PRE>
<DL>
<DD>Notification from the UIFactory that the L&F
 has changed.<DD><DL>
<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/JComponent.html#updateUI()">updateUI</A> in class <A HREF="../../javax/swing/JComponent.html">JComponent</A><DT><B>See Also: </B><DD><A HREF="../../javax/swing/JComponent.html#updateUI()"><CODE>JComponent.updateUI()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getUIClassID()"><!-- --></A><H3>
getUIClassID</H3>
<PRE>
public java.lang.String <B>getUIClassID</B>()</PRE>
<DL>
<DD>Returns a string that specifies the name of the l&f class
 that renders this component.<DD><DL>
<DT><B>Returns:</B><DD>String "LabelUI"<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="getText()"><!-- --></A><H3>
getText</H3>
<PRE>
public java.lang.String <B>getText</B>()</PRE>
<DL>
<DD>Returns the text string that the label displays.<DD><DL>
<DT><B>Returns:</B><DD>a String<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JLabel.html#setText(java.lang.String)"><CODE>setText(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setText(java.lang.String)"><!-- --></A><H3>
setText</H3>
<PRE>
public void <B>setText</B>(java.lang.String&nbsp;text)</PRE>
<DL>
<DD>Defines the single line of text this component will display.  If
 the value of text is null or empty string, nothing is displayed.
 <p>
 The default value of this property is null.
 <p>
 This is a JavaBeans bound property.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JLabel.html#setVerticalTextPosition(int)"><CODE>setVerticalTextPosition(int)</CODE></A>, 
<A HREF="../../javax/swing/JLabel.html#setHorizontalTextPosition(int)"><CODE>setHorizontalTextPosition(int)</CODE></A>, 
<A HREF="../../javax/swing/JLabel.html#setIcon(javax.swing.Icon)"><CODE>setIcon(javax.swing.Icon)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getIcon()"><!-- --></A><H3>
getIcon</H3>
<PRE>
public <A HREF="../../javax/swing/Icon.html">Icon</A> <B>getIcon</B>()</PRE>
<DL>
<DD>Returns the graphic image (glyph, icon) that the label displays.<DD><DL>
<DT><B>Returns:</B><DD>an Icon<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JLabel.html#setIcon(javax.swing.Icon)"><CODE>setIcon(javax.swing.Icon)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setIcon(javax.swing.Icon)"><!-- --></A><H3>
setIcon</H3>
<PRE>
public void <B>setIcon</B>(<A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</PRE>
<DL>
<DD>Defines the icon this component will display.  If
 the value of icon is null, nothing is displayed.
 <p>
 The default value of this property is null.
 <p>
 This is a JavaBeans bound property.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JLabel.html#setVerticalTextPosition(int)"><CODE>setVerticalTextPosition(int)</CODE></A>, 
<A HREF="../../javax/swing/JLabel.html#setHorizontalTextPosition(int)"><CODE>setHorizontalTextPosition(int)</CODE></A>, 
<A HREF="../../javax/swing/JLabel.html#getIcon()"><CODE>getIcon()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getDisabledIcon()"><!-- --></A><H3>
getDisabledIcon</H3>
<PRE>
public <A HREF="../../javax/swing/Icon.html">Icon</A> <B>getDisabledIcon</B>()</PRE>
<DL>
<DD>Returns the value of the disabledIcon property if it's been set,
 If it hasn't been set and the value of the icon property is
 an ImageIcon, we compute a "grayed out" version of the icon and
 update the disabledIcon property with that.<DD><DL>
<DT><B>Returns:</B><DD>The value of the disabledIcon property.<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JLabel.html#setDisabledIcon(javax.swing.Icon)"><CODE>setDisabledIcon(javax.swing.Icon)</CODE></A>, 
<A HREF="../../javax/swing/ImageIcon.html"><CODE>ImageIcon</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setDisabledIcon(javax.swing.Icon)"><!-- --></A><H3>
setDisabledIcon</H3>
<PRE>
public void <B>setDisabledIcon</B>(<A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;disabledIcon)</PRE>
<DL>
<DD>Set the icon to be displayed if this JLabel is "disabled", i.e.
 JLabel.setEnabled(false).
 <p>
 The default value of this property is null.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>disabledIcon</CODE> - the Icon to display when the component is disabled<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JLabel.html#getDisabledIcon()"><CODE>getDisabledIcon()</CODE></A>, 
<A HREF="../../javax/swing/JComponent.html#setEnabled(boolean)"><CODE>JComponent.setEnabled(boolean)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setDisplayedMnemonic(int)"><!-- --></A><H3>
setDisplayedMnemonic</H3>
<PRE>
public void <B>setDisplayedMnemonic</B>(int&nbsp;key)</PRE>
<DL>
<DD>Specify a keycode that indicates a mnemonic key.
 This property is used when the label is part of a larger component.  
 If the labelFor property of the label is not null, the label will
 call the requestFocus method of the component specified by the
 labelFor property when the mnemonic is activated.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JLabel.html#getLabelFor()"><CODE>getLabelFor()</CODE></A>, 
<A HREF="../../javax/swing/JLabel.html#setLabelFor(java.awt.Component)"><CODE>setLabelFor(java.awt.Component)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setDisplayedMnemonic(char)"><!-- --></A><H3>
setDisplayedMnemonic</H3>
<PRE>
public void <B>setDisplayedMnemonic</B>(char&nbsp;aChar)</PRE>
<DL>
<DD>Specifies the displayedMnemonic as a char value.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>aChar</CODE> - a char specifying the mnemonic to display<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JLabel.html#setDisplayedMnemonic(int)"><CODE>setDisplayedMnemonic(int)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getDisplayedMnemonic()"><!-- --></A><H3>
getDisplayedMnemonic</H3>
<PRE>
public int <B>getDisplayedMnemonic</B>()</PRE>
<DL>
<DD>Return the keycode that indicates a mnemonic key.
 This property is used when the label is part of a larger component.
 If the labelFor property of the label is not null, the label will
 call the requestFocus method of the component specified by the
 labelFor property when the mnemonic is activated.<DD><DL>
<DT><B>Returns:</B><DD>int value for the mnemonic key<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JLabel.html#getLabelFor()"><CODE>getLabelFor()</CODE></A>, 
<A HREF="../../javax/swing/JLabel.html#setLabelFor(java.awt.Component)"><CODE>setLabelFor(java.awt.Component)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="checkHorizontalKey(int, java.lang.String)"><!-- --></A><H3>
checkHorizontalKey</H3>
<PRE>
protected int <B>checkHorizontalKey</B>(int&nbsp;key,
                                 java.lang.String&nbsp;message)</PRE>
<DL>
<DD>Verify that key is a legal value for the horizontalAlignment properties.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the property value to check<DD><CODE>message</CODE> - the IllegalArgumentException detail message<DT><B>Throws:</B><DD>java.lang.IllegalArgumentException - if key isn't LEFT, CENTER, RIGHT,
 LEADING or TRAILING.<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JLabel.html#setHorizontalTextPosition(int)"><CODE>setHorizontalTextPosition(int)</CODE></A>, 
<A HREF="../../javax/swing/JLabel.html#setHorizontalAlignment(int)"><CODE>setHorizontalAlignment(int)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="checkVerticalKey(int, java.lang.String)"><!-- --></A><H3>
checkVerticalKey</H3>
<PRE>
protected int <B>checkVerticalKey</B>(int&nbsp;key,
                               java.lang.String&nbsp;message)</PRE>
<DL>
<DD>Verify that key is a legal value for the 
 verticalAlignment or verticalTextPosition properties.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>key</CODE> - the property value to check<DD><CODE>message</CODE> - the IllegalArgumentException detail message<DT><B>Throws:</B><DD>java.lang.IllegalArgumentException - if key isn't TOP, CENTER, or BOTTOM.<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JLabel.html#setVerticalAlignment(int)"><CODE>setVerticalAlignment(int)</CODE></A>, 
<A HREF="../../javax/swing/JLabel.html#setVerticalTextPosition(int)"><CODE>setVerticalTextPosition(int)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getIconTextGap()"><!-- --></A><H3>
getIconTextGap</H3>
<PRE>
public int <B>getIconTextGap</B>()</PRE>
<DL>
<DD>Returns the amount of space between the text and the icon
 displayed in this label.<DD><DL>
<DT><B>Returns:</B><DD>an int equal to the number of pixels between the text
         and the icon.<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JLabel.html#setIconTextGap(int)"><CODE>setIconTextGap(int)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setIconTextGap(int)"><!-- --></A><H3>
setIconTextGap</H3>
<PRE>
public void <B>setIconTextGap</B>(int&nbsp;iconTextGap)</PRE>
<DL>
<DD>If both the icon and text properties are set, this property
 defines the space between them.  
 <p>
 The default value of this property is 4 pixels.
 <p>
 This is a JavaBeans bound property.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JLabel.html#getIconTextGap()"><CODE>getIconTextGap()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getVerticalAlignment()"><!-- --></A><H3>
getVerticalAlignment</H3>
<PRE>
public int <B>getVerticalAlignment</B>()</PRE>
<DL>
<DD>Returns the alignment of the label's contents along the Y axis.<DD><DL>
<DT><B>Returns:</B><DD>The value of the verticalAlignment property, one of the 
           following constants defined in <code>SwingConstants</code>:
           <code>TOP</code>,
           <code>CENTER</code>, or
           <code>BOTTOM</code>.<DT><B>See Also: </B><DD><A HREF="../../javax/swing/SwingConstants.html"><CODE>SwingConstants</CODE></A>, 
<A HREF="../../javax/swing/JLabel.html#setVerticalAlignment(int)"><CODE>setVerticalAlignment(int)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setVerticalAlignment(int)"><!-- --></A><H3>
setVerticalAlignment</H3>
<PRE>
public void <B>setVerticalAlignment</B>(int&nbsp;alignment)</PRE>
<DL>
<DD>Sets the alignment of the label's contents along the Y axis.  
 <p>
 The default value of this property is CENTER.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>alignment</CODE> - One of the following constants
           defined in <code>SwingConstants</code>:
           <code>TOP</code>,
           <code>CENTER</code> (the default), or
           <code>BOTTOM</code>.<DT><B>See Also: </B><DD><A HREF="../../javax/swing/SwingConstants.html"><CODE>SwingConstants</CODE></A>, 
<A HREF="../../javax/swing/JLabel.html#getVerticalAlignment()"><CODE>getVerticalAlignment()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getHorizontalAlignment()"><!-- --></A><H3>
getHorizontalAlignment</H3>
<PRE>
public int <B>getHorizontalAlignment</B>()</PRE>
<DL>
<DD>Returns the alignment of the label's contents along the X axis.<DD><DL>
<DT><B>Returns:</B><DD>The value of the horizontalAlignment property, one of the 
           following constants defined in <code>SwingConstants</code>:
           <code>LEFT</code>,
           <code>CENTER</code>, or
           <code>RIGHT</code>.<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JLabel.html#setHorizontalAlignment(int)"><CODE>setHorizontalAlignment(int)</CODE></A>, 
<A HREF="../../javax/swing/SwingConstants.html"><CODE>SwingConstants</CODE></A></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 alignment of the label's contents along the X axis.
 <p>
 This is a JavaBeans bound property.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>alignment</CODE> - One of the following constants
           defined in <code>SwingConstants</code>:
           <code>LEFT</code> (the default for text-only labels),
           <code>CENTER</code> (the default for image-only labels),
           <code>RIGHT</code>,
           <code>LEADING</code> or
           <code>TRAILING</code>.<DT><B>See Also: </B><DD><A HREF="../../javax/swing/SwingConstants.html"><CODE>SwingConstants</CODE></A>, 
<A HREF="../../javax/swing/JLabel.html#getHorizontalAlignment()"><CODE>getHorizontalAlignment()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getVerticalTextPosition()"><!-- --></A><H3>
getVerticalTextPosition</H3>
<PRE>
public int <B>getVerticalTextPosition</B>()</PRE>
<DL>
<DD>Returns the vertical position of the label's text,
 relative to its image.<DD><DL>
<DT><B>Returns:</B><DD>One of the following constants
           defined in <code>SwingConstants</code>:
           <code>TOP</code>,
           <code>CENTER</code>, or
           <code>BOTTOM</code>.<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JLabel.html#setVerticalTextPosition(int)"><CODE>setVerticalTextPosition(int)</CODE></A>, 
<A HREF="../../javax/swing/SwingConstants.html"><CODE>SwingConstants</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setVerticalTextPosition(int)"><!-- --></A><H3>
setVerticalTextPosition</H3>
<PRE>
public void <B>setVerticalTextPosition</B>(int&nbsp;textPosition)</PRE>
<DL>
<DD>Sets the vertical position of the label's text,
 relative to its image.
 <p>
 The default value of this property is CENTER.
 <p>
 This is a JavaBeans bound property.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>textPosition</CODE> - One of the following constants
           defined in <code>SwingConstants</code>:
           <code>TOP</code>,
           <code>CENTER</code> (the default), or
           <code>BOTTOM</code>.<DT><B>See Also: </B><DD><A HREF="../../javax/swing/SwingConstants.html"><CODE>SwingConstants</CODE></A>, 
<A HREF="../../javax/swing/JLabel.html#getVerticalTextPosition()"><CODE>getVerticalTextPosition()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getHorizontalTextPosition()"><!-- --></A><H3>
getHorizontalTextPosition</H3>
<PRE>
public int <B>getHorizontalTextPosition</B>()</PRE>
<DL>
<DD>Returns the horizontal position of the label's text,
 relative to its image.<DD><DL>
<DT><B>Returns:</B><DD>One of the following constants
           defined in <code>SwingConstants</code>:
           <code>LEFT</code>,
           <code>CENTER</code>, or
           <code>RIGHT</code>.<DT><B>See Also: </B><DD><A HREF="../../javax/swing/SwingConstants.html"><CODE>SwingConstants</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setHorizontalTextPosition(int)"><!-- --></A><H3>
setHorizontalTextPosition</H3>
<PRE>
public void <B>setHorizontalTextPosition</B>(int&nbsp;textPosition)</PRE>
<DL>
<DD>Sets the horizontal position of the label's text,
 relative to its image.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>x</CODE> - One of the following constants
           defined in <code>SwingConstants</code>:
           <code>LEFT</code>,
           <code>CENTER</code>,
           <code>RIGHT</code> (the default),
           <code>LEADING</code>, or
           <code>TRAILING</code>.<DT><B>Throws:</B><DD>java.lang.IllegalArgumentException - &nbsp;<DT><B>See Also: </B><DD><A HREF="../../javax/swing/SwingConstants.html"><CODE>SwingConstants</CODE></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 JLabel. 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 JLabel.<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/JComponent.html#paramString()">paramString</A> in class <A HREF="../../javax/swing/JComponent.html">JComponent</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 of this object<DD><DL>
<DT><B>Specified by: </B><DD><A HREF="../../javax/accessibility/Accessible.html#getAccessibleContext()">getAccessibleContext</A> in interface <A HREF="../../javax/accessibility/Accessible.html">Accessible</A><DT><B>Returns:</B><DD>the AccessibleContext of this object<DT><B>Overrides:</B><DD><A HREF="../../javax/swing/JComponent.html#getAccessibleContext()">getAccessibleContext</A> in class <A HREF="../../javax/swing/JComponent.html">JComponent</A></DL>
</DD>
</DL>
<HR>

<A NAME="getLabelFor()"><!-- --></A><H3>
getLabelFor</H3>
<PRE>
public java.awt.Component <B>getLabelFor</B>()</PRE>
<DL>
<DD>Get the component this is labelling.<DD><DL>
<DT><B>Returns:</B><DD>the Component this is labelling.  Can be null if this
 does not label a Component.  If the displayedMnemonic 
 property is set and the labelFor property is also set, the label 
 will call the requestFocus method of the component specified by the
 labelFor property when the mnemonic is activated.<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JLabel.html#getDisplayedMnemonic()"><CODE>getDisplayedMnemonic()</CODE></A>, 
<A HREF="../../javax/swing/JLabel.html#setDisplayedMnemonic(int)"><CODE>setDisplayedMnemonic(int)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setLabelFor(java.awt.Component)"><!-- --></A><H3>
setLabelFor</H3>
<PRE>
public void <B>setLabelFor</B>(java.awt.Component&nbsp;c)</PRE>
<DL>
<DD>Set the component this is labelling.  Can be null if this does not 
 label a Component.  If the displayedMnemonic property is set
 and the labelFor property is also set, the label will
 call the requestFocus method of the component specified by the
 labelFor property when the mnemonic is activated.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - the Component this label is for, or null if the label is
           not the label for a component<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JLabel.html#getDisplayedMnemonic()"><CODE>getDisplayedMnemonic()</CODE></A>, 
<A HREF="../../javax/swing/JLabel.html#setDisplayedMnemonic(int)"><CODE>setDisplayedMnemonic(int)</CODE></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/JLabel.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/JInternalFrame.JDesktopIcon.AccessibleJDesktopIcon.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/JLabel.AccessibleJLabel.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="JLabel.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>
