<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 05:56:25 GMT+01:00 1999 -->
<TITLE>
Swing 1.1 API Specification: Class  JOptionPane
</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/JOptionPane.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/JMenuItem.AccessibleJMenuItem.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/JOptionPane.AccessibleJOptionPane.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="JOptionPane.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  JOptionPane</H2>
<PRE>
java.lang.Object
  |
  +--java.awt.Component
        |
        +--java.awt.Container
              |
              +--<A HREF="../../javax/swing/JComponent.html">javax.swing.JComponent</A>
                    |
                    +--<B>javax.swing.JOptionPane</B>
</PRE>
<HR>
<DL>
<DT>public class <B>JOptionPane</B><DT>extends <A HREF="../../javax/swing/JComponent.html">JComponent</A><DT>implements <A HREF="../../javax/accessibility/Accessible.html">Accessible</A></DL>

<P>
JOptionPane makes it easy to pop up a standard dialog box that
 prompts users for a value or informs them of something. While the 
 class may appear complex because of the large number of methods, almost
 all uses of this class are one-line calls to one of the static 
 <code>showXxxDialog</code> methods shown below:
 <blockquote>
 <table>
 <tr align=top><td>showConfirmDialog<td>Asks a confirming question, 
                   like yes/no/cancel.
 <tr align=top><td>showInputDialog<td>Prompt for some input.
 <tr align=top><td>showMessageDialog<td>Tell the user about something 
                                        that has happened.
 <tr align=top><td>showOptionDialog<td>The Grand Unification of the above three.
 </table>
 </blockquote>
 Each of these methods also comes in a <code>showInternalXXX</code>
 flavor, which uses an internal frame to hold the dialog box (see
 <A HREF="../../javax/swing/JInternalFrame.html"><CODE>JInternalFrame</CODE></A>).
 Multiple convenience methods have also been defined -- overloaded 
 versions of the basic methods that use different parameter lists.
 <p>
 All dialogs are modal. Each <code>showXxxDialog</code> method blocks 
 the current thread until the user's interaction is complete.
 <p>
 <table cellspacing=6 cellpadding=4 border=0 align=right>
 <tr>
 <td bgcolor=#FFe0d0 rowspan=2>
 icon
 <td bgcolor=#FFe0d0>
 message
 <tr>
 <td bgcolor=#FFe0d0>
 input value
 <tr>
 <td bgcolor=#FFe0d0 colspan=2>
 option buttons
 </table>
 The basic appearance of one of these dialog boxes is generally
 similar to the picture at the right, although the various look-and-feels are
 ultimatly responsible for the final result.
 <br clear=all>
 <p>
 <b>Parameters:</b><br>
 The parameters to these methods follow consistent patterns:
 <blockquote>
 <dl compact>
 <dt>parentComponent<dd>
 Defines the Component that is to be the parent of this dialog box.
 It is used in two ways: the Frame that contains it is used as the Frame
 parent for the dialog box, and its screen coordinates are used in
 the placement of the dialog box. In general, the dialog box is placed
 just below the component. This parameter may be null, in which case
 a default Frame is used as the parent, and the dialog will be
 centered on the screen (depending on the L&F).
 <dt><a name=message>message</a><dd>
 A descriptive message to be placed in the dialog box.
 In the most common usage, message is just a String or String constant.
 However, the type of this parameter is actually Object. It's 
 interpretation depends on its type:
 <dl compact>
 <dt>Object[]<dd>An array of objects is interpreted as a series of
                 messages (one per object) arranged in a vertical stack.
                 The interpretation is recursive -- each object in the
                 array is interpreted according to its type. 
 <dt>Component<dd>The Component is displayed in the dialog.
 <dt>Icon<dd>The Icon is wrapped in a JLabel and displayed in the dialog.
 <dt>others<dd>The object is converted to a String by calling its 
               <code>toString</code> method. The result is wrapped in a
               JLabel and displayed.
 </dl>
 <dt>messageType<dd>Defines the style of the message. The look&feel
 manager may lay out the dialog differently depending on this value, and
 will often provide a default icon. The possible values are:
 <ul>
 <li>ERROR_MESSAGE
 <li>INFORMATION_MESSAGE
 <li>WARNING_MESSAGE
 <li>QUESTION_MESSAGE
 <li>PLAIN_MESSAGE
 </ul>
 <dt>optionType<dd>Defines the set of option buttons that appear at
 the bottom of the dialog box:
 <ul>
 <li>DEFAULT_OPTION
 <li>YES_NO_OPTION
 <li>YES_NO_CANCEL_OPTION
 <li>OK_CANCEL_OPTION
 </ul>
 You aren't limited to this set of option buttons.  You can provide any
 buttons you want using the options parameter.
 <dt>options<dd>A more detailed description of the set of option buttons
 that will appear at the bottom of the dialog box. 
 The usual value for the options parameter is an array of Strings. But 
 the parameter type is an array of Objects. A button is created for each
 object depending on it's type:
 <dl compact>
 <dt>Component<dd>The component is added to the button row directly.
 <dt>Icon<dd>A JButton is created with this as its label.
 <dt>other<dd>The Object is converted to a string using its
              <code>toString</code> method and the result is used to
              label a JButton.
 </dl>
 <dt>icon<dd>A decorative icon to be placed in the dialog box. A default
 value for this is determined by the messageType parameter.
 <dt>title<dd>The title for the dialog box.
 <dt>initialValue<dd>The default selection (input value).
 </dl>
 </blockquote>
 <p>
 When the selection is changed, <code>setValue</code> is invoked,
 which generates a PropertyChangeEvent.
 <p>
 If a JOptionPane has configured to all input <code>setWantsInput</code>
 the bound property JOptionPane.INPUT_VALUE_PROPERTY can also be listened
 to, to determine when the user has input or selected a value.
 <p>
 When one of the <code>showXxxDialog</code> methods returns an integer, 
 the possible values are:<pre>
     YES_OPTION,
     NO_OPTION,
     CANCEL_OPTION,
     OK_OPTION, or
     CLOSED_OPTION.
 </pre>
 <b>Examples:</b>
 <dl>
 <dt>Show an error dialog that displays the message, 'alert':
 <dd><code>
 JOptionPane.showMessageDialog(null, "alert", "alert", ERROR_MESSAGE);
 </code><p>
 <dt>Show an internal information dialog with the message, 'information':
 <dd><code>
 JOptionPane.showInternalMessageDialog(frame, INFORMATION_MESSAGE,<br>
             <ul><ul>"information", "information");</ul></ul>
 </code><p>
 <dt>Show an information panel with the options yes/no and message 'choose one':
 <dd><code>JOptionPane.showConfirmDialog(null,
             <ul><ul>"choose one", "choose one", YES_NO_OPTION);</ul></ul>
 </code><p>
 <dt>Show an internal information dialog with the options yes/no/cancel and
 message 'please choose one' and title information:
 <dd><code>JOptionPane.showInternalConfirmDialog(frame,
             <ul><ul>"please choose one", "information",</ul></ul>
             <ul><ul>YES_NO_CANCEL_OPTION, INFORMATION_MESSAGE);</ul></ul>
 </code><p>
 <dt>Show a warning dialog with the options OK, CANCEL, title 'Warning', and
 message 'Click OK to continue':
 <dd><code>
 Object[] options = { "OK", "CANCEL" };<br>
 JOptionPane.showOptionDialog(null, "Click OK to continue", "Warning",
             <ul><ul>DEFAULT_OPTION, WARNING_MESSAGE,</ul></ul>
             <ul><ul>null, options, options[0]);</ul></ul>
 </code><p>
 <dt>Show a dialog asking the user to type in a String:
 <dd><code>
 String inputValue = JOptionPane.showInputDialog("Please input a value");
 </code><p>
 <dt>Show a dialog asking the user to select a String:
 <dd><code>
 Object[] possibleValues = { "First", "Second", "Third" };<br>
 Object selectedValue = JOptionPane.showInputDialog(null,
             <ul><ul>"Choose one", "Input",</ul></ul>
             <ul><ul>JOptionPane.INFORMATION_MESSAGE, null,</ul></ul>
             <ul><ul>possibleValues, possibleValues[0]);</ul></ul>
 </code><p>
 </dl>
 <b>Direct Use:</b><br>
 To create and use an JOptionPane directly, the
 standard pattern is roughly as follows:
 <pre>
     JOptionPane pane = new JOptionPane(<i>arguments</i>);
     pane.set<i>.Xxxx(...); // Configure</i>
     JDialog dialog = pane.createDialog(<i>parentComponent, title</i>);
     dialog.show();
     Object selectedValue = pane.getValue();
     if(selectedValue == null)
       return CLOSED_OPTION;
     <i>//If there is <b>not</b> an array of option buttons:</i>
     if(options == null) {
       if(selectedValue instanceof Integer)
          return ((Integer)selectedValue).intValue();
       return CLOSED_OPTION;
     }
     <i>//If there is an array of option buttons:</i>
     for(int counter = 0, maxCounter = options.length;
        counter < maxCounter; counter++) {
        if(options[counter].equals(selectedValue))
        return counter;
     }
     return CLOSED_OPTION;
 </pre>
 <p>
 For the keyboard keys used by this component in the standard Look and
 Feel (L&F) renditions, see the
 <a href="doc-files/Key-Index.html#JOptionPane">JOptionPane</a> key assignments.
 <p>
 <strong>Warning:</strong>
 Serialized objects of this class will not be compatible with 
 future Swing releases.  The current serialization support is appropriate
 for short term storage or RMI between applications running the same
 version of Swing.  A future release of Swing will provide support for
 long term persistence.
<P>
<DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JInternalFrame.html"><CODE>JInternalFrame</CODE></A>, <A HREF="../../serialized-form.html#javax.swing.JOptionPane">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/JOptionPane.AccessibleJOptionPane.html">JOptionPane.AccessibleJOptionPane</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Accessiblity support.</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;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#CANCEL_OPTION">CANCEL_OPTION</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return value from class method if CANCEL is chosen.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#CLOSED_OPTION">CLOSED_OPTION</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return value from class method if user closes window without selecting
 anything, more than likely this should be treated as either a
 CANCEL_OPTION or NO_OPTION.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#DEFAULT_OPTION">DEFAULT_OPTION</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Type meaning look and feel should not supply any options -- only
 use the options from the JOptionPane.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#ERROR_MESSAGE">ERROR_MESSAGE</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used for error messages.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="../../javax/swing/Icon.html">Icon</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#icon">icon</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Icon used in pane.</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/JOptionPane.html#ICON_PROPERTY">ICON_PROPERTY</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bound property name for icon.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#INFORMATION_MESSAGE">INFORMATION_MESSAGE</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used for information messages.</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/JOptionPane.html#INITIAL_SELECTION_VALUE_PROPERTY">INITIAL_SELECTION_VALUE_PROPERTY</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bound property name for initialSelectionValue.</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/JOptionPane.html#INITIAL_VALUE_PROPERTY">INITIAL_VALUE_PROPERTY</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bounds property name for initialValue.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#initialSelectionValue">initialSelectionValue</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Initial value to select in selectionValues.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#initialValue">initialValue</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Value that should be initialy selected in options.</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/JOptionPane.html#INPUT_VALUE_PROPERTY">INPUT_VALUE_PROPERTY</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bound property name for inputValue.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#inputValue">inputValue</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Value the user has input.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#message">message</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Message to display.</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/JOptionPane.html#MESSAGE_PROPERTY">MESSAGE_PROPERTY</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bound property name for message.</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/JOptionPane.html#MESSAGE_TYPE_PROPERTY">MESSAGE_TYPE_PROPERTY</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bounds property name for type.</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/JOptionPane.html#messageType">messageType</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Message type.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#NO_OPTION">NO_OPTION</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return value from class method if NO is chosen.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#OK_CANCEL_OPTION">OK_CANCEL_OPTION</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Type used for showConfirmDialog.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#OK_OPTION">OK_OPTION</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return value form class method if OK is chosen.</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/JOptionPane.html#OPTION_TYPE_PROPERTY">OPTION_TYPE_PROPERTY</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bound property name for optionType.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.lang.Object[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#options">options</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Options to display to the user.</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/JOptionPane.html#OPTIONS_PROPERTY">OPTIONS_PROPERTY</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bounds property namer for option.</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/JOptionPane.html#optionType">optionType</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Option type, one of DEFAULT_OPTION, YES_NO_OPTION,
 YES_NO_CANCEL_OPTION or OK_CANCEL_OPTION.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#PLAIN_MESSAGE">PLAIN_MESSAGE</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;No icon is used.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#QUESTION_MESSAGE">QUESTION_MESSAGE</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used for questions.</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/JOptionPane.html#SELECTION_VALUES_PROPERTY">SELECTION_VALUES_PROPERTY</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bound property name for selectionValues.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.lang.Object[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#selectionValues">selectionValues</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Array of values the user can choose from.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#UNINITIALIZED_VALUE">UNINITIALIZED_VALUE</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicates that the user has not yet selected a value.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#value">value</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Currently selected value, will be a valid option, or
 UNINITIALIZED_VALUE or null.</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/JOptionPane.html#VALUE_PROPERTY">VALUE_PROPERTY</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bounds property name for value.</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/JOptionPane.html#WANTS_INPUT_PROPERTY">WANTS_INPUT_PROPERTY</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Bound property name for wantsInput.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#wantsInput">wantsInput</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If true, a UI widget will be provided to the user to get input.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#WARNING_MESSAGE">WARNING_MESSAGE</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used for warning messages.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#YES_NO_CANCEL_OPTION">YES_NO_CANCEL_OPTION</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Type used for showConfirmDialog.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#YES_NO_OPTION">YES_NO_OPTION</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Type used for showConfirmDialog.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#YES_OPTION">YES_OPTION</A></B></CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return value from class method if YES is chosen.</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/JOptionPane.html#JOptionPane()">JOptionPane</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a JOptionPane with a test message.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#JOptionPane(java.lang.Object)">JOptionPane</A></B>(java.lang.Object&nbsp;message)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates a instance of JOptionPane to display a message using the 
 plain-message message type and the default options delivered by
 the UI.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#JOptionPane(java.lang.Object, int)">JOptionPane</A></B>(java.lang.Object&nbsp;message,
            int&nbsp;messageType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an instance of JOptionPane to display a message
 with the specified message type and the default options,</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#JOptionPane(java.lang.Object, int, int)">JOptionPane</A></B>(java.lang.Object&nbsp;message,
            int&nbsp;messageType,
            int&nbsp;optionType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an instance of JOptionPane to display a message
 with the specified message type and options.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#JOptionPane(java.lang.Object, int, int, javax.swing.Icon)">JOptionPane</A></B>(java.lang.Object&nbsp;message,
            int&nbsp;messageType,
            int&nbsp;optionType,
            <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an instance of JOptionPane to display a message
 with the specified message type, options, and icon.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#JOptionPane(java.lang.Object, int, int, javax.swing.Icon, java.lang.Object[])">JOptionPane</A></B>(java.lang.Object&nbsp;message,
            int&nbsp;messageType,
            int&nbsp;optionType,
            <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon,
            java.lang.Object[]&nbsp;options)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an instance of JOptionPane to display a message
 with the specified message type, icon, and options.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#JOptionPane(java.lang.Object, int, int, javax.swing.Icon, java.lang.Object[], java.lang.Object)">JOptionPane</A></B>(java.lang.Object&nbsp;message,
            int&nbsp;messageType,
            int&nbsp;optionType,
            <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon,
            java.lang.Object[]&nbsp;options,
            java.lang.Object&nbsp;initialValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates an instance of JOptionPane to display a message
 with the specified message type, icon, and options, with the 
 inititially-selected option specified.</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;<A HREF="../../javax/swing/JDialog.html">JDialog</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#createDialog(java.awt.Component, java.lang.String)">createDialog</A></B>(java.awt.Component&nbsp;parentComponent,
             java.lang.String&nbsp;title)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and returns a new JDialog wrapping <code>this</code>
 centered on the <code>parentComponent</code> in the 
 <code>parentComponent</code>'s frame.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../javax/swing/JInternalFrame.html">JInternalFrame</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#createInternalFrame(java.awt.Component, java.lang.String)">createInternalFrame</A></B>(java.awt.Component&nbsp;parentComponent,
                    java.lang.String&nbsp;title)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Creates and returns an instance of JInternalFrame.</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/JOptionPane.html#getAccessibleContext()">getAccessibleContext</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the AccessibleContext associated with this JComponent</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../javax/swing/JDesktopPane.html">JDesktopPane</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#getDesktopPaneForComponent(java.awt.Component)">getDesktopPaneForComponent</A></B>(java.awt.Component&nbsp;parentComponent)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the specified component's desktop pane.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.awt.Frame</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#getFrameForComponent(java.awt.Component)">getFrameForComponent</A></B>(java.awt.Component&nbsp;parentComponent)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the specified component's Frame.</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/JOptionPane.html#getIcon()">getIcon</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the icon this pane displays.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#getInitialSelectionValue()">getInitialSelectionValue</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the initial-selection value..</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#getInitialValue()">getInitialValue</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the initial value.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#getInputValue()">getInputValue</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value the user has input, if <code>wantsInput</code>
 is true.</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/JOptionPane.html#getMaxCharactersPerLineCount()">getMaxCharactersPerLineCount</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the maximum number of characters to place on a line in a
 message.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#getMessage()">getMessage</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the message-object this pane 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/JOptionPane.html#getMessageType()">getMessageType</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the message type.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#getOptions()">getOptions</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the choices the user can make.</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/JOptionPane.html#getOptionType()">getOptionType</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the type of options that are displayed.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.awt.Frame</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#getRootFrame()">getRootFrame</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the Frame to use for the class methods in which a frame
 is not provided.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#getSelectionValues()">getSelectionValues</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the selection values.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../javax/swing/plaf/OptionPaneUI.html">OptionPaneUI</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#getUI()">getUI</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the UI object which implements the L&F for 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/JOptionPane.html#getUIClassID()">getUIClassID</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the name of the UI class that implements the
 L&F for this component.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#getValue()">getValue</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the value the user has selected.</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/JOptionPane.html#getWantsInput()">getWantsInput</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if a parentComponent will be provided for the user to
 input.</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/JOptionPane.html#paramString()">paramString</A></B>()</CODE>

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

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Requests that the initial value be selected, which will set
 focus to the initial 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/JOptionPane.html#setIcon(javax.swing.Icon)">setIcon</A></B>(<A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;newIcon)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the icon to 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/JOptionPane.html#setInitialSelectionValue(java.lang.Object)">setInitialSelectionValue</A></B>(java.lang.Object&nbsp;newValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the initial selection 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/JOptionPane.html#setInitialValue(java.lang.Object)">setInitialValue</A></B>(java.lang.Object&nbsp;newInitialValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the initial value that is to be enabled -- the Component
 that has the focus when the pane is initially displayed.</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/JOptionPane.html#setInputValue(java.lang.Object)">setInputValue</A></B>(java.lang.Object&nbsp;newValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the user's input-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/JOptionPane.html#setMessage(java.lang.Object)">setMessage</A></B>(java.lang.Object&nbsp;newMessage)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the option pane's message-object.</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/JOptionPane.html#setMessageType(int)">setMessageType</A></B>(int&nbsp;newType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the option pane's message type.</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/JOptionPane.html#setOptions(java.lang.Object[])">setOptions</A></B>(java.lang.Object[]&nbsp;newOptions)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the options this pane displays.</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/JOptionPane.html#setOptionType(int)">setOptionType</A></B>(int&nbsp;newType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the options to display.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#setRootFrame(java.awt.Frame)">setRootFrame</A></B>(java.awt.Frame&nbsp;newRootFrame)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the frame to use for class methods in which a frame is
 not provided.</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/JOptionPane.html#setSelectionValues(java.lang.Object[])">setSelectionValues</A></B>(java.lang.Object[]&nbsp;newValues)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the selection values for a pane that provides the user
 with a list of items to choose from.</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/JOptionPane.html#setUI(javax.swing.plaf.OptionPaneUI)">setUI</A></B>(<A HREF="../../javax/swing/plaf/OptionPaneUI.html">OptionPaneUI</A>&nbsp;ui)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the UI object which implements the L&F for 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/JOptionPane.html#setValue(java.lang.Object)">setValue</A></B>(java.lang.Object&nbsp;newValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the value the user has chosen.</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/JOptionPane.html#setWantsInput(boolean)">setWantsInput</A></B>(boolean&nbsp;newValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If <code>newValue</code> is true, a parentComponent is provided to
 allow the user to input a value.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#showConfirmDialog(java.awt.Component, java.lang.Object)">showConfirmDialog</A></B>(java.awt.Component&nbsp;parentComponent,
                  java.lang.Object&nbsp;message)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Brings up a modal dialog with the options Yes, No and Cancel; with the
 title, "Select an Option".</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#showConfirmDialog(java.awt.Component, java.lang.Object, java.lang.String, int)">showConfirmDialog</A></B>(java.awt.Component&nbsp;parentComponent,
                  java.lang.Object&nbsp;message,
                  java.lang.String&nbsp;title,
                  int&nbsp;optionType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Brings up a modal dialog where the number of choices is determined
 by the <code>optionType</code> parameter.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#showConfirmDialog(java.awt.Component, java.lang.Object, java.lang.String, int, int)">showConfirmDialog</A></B>(java.awt.Component&nbsp;parentComponent,
                  java.lang.Object&nbsp;message,
                  java.lang.String&nbsp;title,
                  int&nbsp;optionType,
                  int&nbsp;messageType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Brings up a modal dialog where the number of choices is determined
 by the <code>optionType</code> parameter, where the <code>messageType</code>
 parameter determines the icon to display.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#showConfirmDialog(java.awt.Component, java.lang.Object, java.lang.String, int, int, javax.swing.Icon)">showConfirmDialog</A></B>(java.awt.Component&nbsp;parentComponent,
                  java.lang.Object&nbsp;message,
                  java.lang.String&nbsp;title,
                  int&nbsp;optionType,
                  int&nbsp;messageType,
                  <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Brings up a modal dialog with a specified icon, where the number of 
 choices is determined by the <code>optionType</code> parameter.</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/JOptionPane.html#showInputDialog(java.awt.Component, java.lang.Object)">showInputDialog</A></B>(java.awt.Component&nbsp;parentComponent,
                java.lang.Object&nbsp;message)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Shows a question-message dialog requesting input from the user parented to
 <code>parentComponent</code>.</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/JOptionPane.html#showInputDialog(java.awt.Component, java.lang.Object, java.lang.String, int)">showInputDialog</A></B>(java.awt.Component&nbsp;parentComponent,
                java.lang.Object&nbsp;message,
                java.lang.String&nbsp;title,
                int&nbsp;messageType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Shows a dialog requesting input from the user parented to
 <code>parentComponent</code> with the dialog having the title
 <code>title</code> and message type <code>messageType</code>.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#showInputDialog(java.awt.Component, java.lang.Object, java.lang.String, int, javax.swing.Icon, java.lang.Object[], java.lang.Object)">showInputDialog</A></B>(java.awt.Component&nbsp;parentComponent,
                java.lang.Object&nbsp;message,
                java.lang.String&nbsp;title,
                int&nbsp;messageType,
                <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon,
                java.lang.Object[]&nbsp;selectionValues,
                java.lang.Object&nbsp;initialSelectionValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prompts the user for input in a blocking dialog where the
 initial selection, possible selections, and all other options can
 be specified.</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/JOptionPane.html#showInputDialog(java.lang.Object)">showInputDialog</A></B>(java.lang.Object&nbsp;message)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Shows a question-message dialog requesting input from the user.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#showInternalConfirmDialog(java.awt.Component, java.lang.Object)">showInternalConfirmDialog</A></B>(java.awt.Component&nbsp;parentComponent,
                          java.lang.Object&nbsp;message)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Brings up an internal dialog panel with the options Yes, No 
 and Cancel; with the title, "Select an Option".</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#showInternalConfirmDialog(java.awt.Component, java.lang.Object, java.lang.String, int)">showInternalConfirmDialog</A></B>(java.awt.Component&nbsp;parentComponent,
                          java.lang.Object&nbsp;message,
                          java.lang.String&nbsp;title,
                          int&nbsp;optionType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Brings up a internal dialog panel where the number of choices 
 is determined by the <code>optionType</code> parameter.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#showInternalConfirmDialog(java.awt.Component, java.lang.Object, java.lang.String, int, int)">showInternalConfirmDialog</A></B>(java.awt.Component&nbsp;parentComponent,
                          java.lang.Object&nbsp;message,
                          java.lang.String&nbsp;title,
                          int&nbsp;optionType,
                          int&nbsp;messageType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Brings up an internal dialog panel where the number of choices
 is determined by the <code>optionType</code> parameter, where
 the <code>messageType</code> parameter determines the icon to display.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#showInternalConfirmDialog(java.awt.Component, java.lang.Object, java.lang.String, int, int, javax.swing.Icon)">showInternalConfirmDialog</A></B>(java.awt.Component&nbsp;parentComponent,
                          java.lang.Object&nbsp;message,
                          java.lang.String&nbsp;title,
                          int&nbsp;optionType,
                          int&nbsp;messageType,
                          <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Brings up an internal dialog panel with a specified icon, where
 the number of choices is determined by the <code>optionType</code>
 parameter.</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/JOptionPane.html#showInternalInputDialog(java.awt.Component, java.lang.Object)">showInternalInputDialog</A></B>(java.awt.Component&nbsp;parentComponent,
                        java.lang.Object&nbsp;message)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Shows an internal question-message dialog requesting input from
 the user parented to  <code>parentComponent</code>.</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/JOptionPane.html#showInternalInputDialog(java.awt.Component, java.lang.Object, java.lang.String, int)">showInternalInputDialog</A></B>(java.awt.Component&nbsp;parentComponent,
                        java.lang.Object&nbsp;message,
                        java.lang.String&nbsp;title,
                        int&nbsp;messageType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Shows an internal dialog requesting input from the user parented
 to <code>parentComponent</code> with the dialog having the title
 <code>title</code> and message type <code>messageType</code>.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#showInternalInputDialog(java.awt.Component, java.lang.Object, java.lang.String, int, javax.swing.Icon, java.lang.Object[], java.lang.Object)">showInternalInputDialog</A></B>(java.awt.Component&nbsp;parentComponent,
                        java.lang.Object&nbsp;message,
                        java.lang.String&nbsp;title,
                        int&nbsp;messageType,
                        <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon,
                        java.lang.Object[]&nbsp;selectionValues,
                        java.lang.Object&nbsp;initialSelectionValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Prompts the user for input in a blocking internal dialog where
 the initial selection, possible selections, and all other 
 options can be specified.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#showInternalMessageDialog(java.awt.Component, java.lang.Object)">showInternalMessageDialog</A></B>(java.awt.Component&nbsp;parentComponent,
                          java.lang.Object&nbsp;message)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Brings up an internal confirmation dialog panel.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#showInternalMessageDialog(java.awt.Component, java.lang.Object, java.lang.String, int)">showInternalMessageDialog</A></B>(java.awt.Component&nbsp;parentComponent,
                          java.lang.Object&nbsp;message,
                          java.lang.String&nbsp;title,
                          int&nbsp;messageType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Brings up an internal dialog panel that displays a message 
 using a default icon determined by the messageType parameter.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#showInternalMessageDialog(java.awt.Component, java.lang.Object, java.lang.String, int, javax.swing.Icon)">showInternalMessageDialog</A></B>(java.awt.Component&nbsp;parentComponent,
                          java.lang.Object&nbsp;message,
                          java.lang.String&nbsp;title,
                          int&nbsp;messageType,
                          <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Brings up an internal dialog panel displaying a message, 
 specifying all parameters.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#showInternalOptionDialog(java.awt.Component, java.lang.Object, java.lang.String, int, int, javax.swing.Icon, java.lang.Object[], java.lang.Object)">showInternalOptionDialog</A></B>(java.awt.Component&nbsp;parentComponent,
                         java.lang.Object&nbsp;message,
                         java.lang.String&nbsp;title,
                         int&nbsp;optionType,
                         int&nbsp;messageType,
                         <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon,
                         java.lang.Object[]&nbsp;options,
                         java.lang.Object&nbsp;initialValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Brings up an internal dialog panel with a specified icon, where
 the initial choice is dermined by the <code>initialValue</code>
 parameter and the number of choices is determined by the 
 <code>optionType</code> parameter.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#showMessageDialog(java.awt.Component, java.lang.Object)">showMessageDialog</A></B>(java.awt.Component&nbsp;parentComponent,
                  java.lang.Object&nbsp;message)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Brings up a confirmation dialog -- a modal information-message dialog
 titled "Confirm".</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#showMessageDialog(java.awt.Component, java.lang.Object, java.lang.String, int)">showMessageDialog</A></B>(java.awt.Component&nbsp;parentComponent,
                  java.lang.Object&nbsp;message,
                  java.lang.String&nbsp;title,
                  int&nbsp;messageType)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Brings up a dialog that displays a message using a default
 icon determined by the messageType parameter.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#showMessageDialog(java.awt.Component, java.lang.Object, java.lang.String, int, javax.swing.Icon)">showMessageDialog</A></B>(java.awt.Component&nbsp;parentComponent,
                  java.lang.Object&nbsp;message,
                  java.lang.String&nbsp;title,
                  int&nbsp;messageType,
                  <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Brings up a dialog displaying a message, specifying all parameters.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/JOptionPane.html#showOptionDialog(java.awt.Component, java.lang.Object, java.lang.String, int, int, javax.swing.Icon, java.lang.Object[], java.lang.Object)">showOptionDialog</A></B>(java.awt.Component&nbsp;parentComponent,
                 java.lang.Object&nbsp;message,
                 java.lang.String&nbsp;title,
                 int&nbsp;optionType,
                 int&nbsp;messageType,
                 <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon,
                 java.lang.Object[]&nbsp;options,
                 java.lang.Object&nbsp;initialValue)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Brings up a modal dialog with a specified icon, where the initial
 choice is dermined by the <code>initialValue</code> parameter and
 the number of choices is determined by the <code>optionType</code> 
 parameter.</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/JOptionPane.html#updateUI()">updateUI</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Notification from the UIManager 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="UNINITIALIZED_VALUE"><!-- --></A><H3>
UNINITIALIZED_VALUE</H3>
<PRE>
public static final java.lang.Object <B>UNINITIALIZED_VALUE</B></PRE>
<DL>
<DD>Indicates that the user has not yet selected a value.</DL>
<HR>

<A NAME="DEFAULT_OPTION"><!-- --></A><H3>
DEFAULT_OPTION</H3>
<PRE>
public static final int <B>DEFAULT_OPTION</B></PRE>
<DL>
<DD>Type meaning look and feel should not supply any options -- only
 use the options from the JOptionPane.</DL>
<HR>

<A NAME="YES_NO_OPTION"><!-- --></A><H3>
YES_NO_OPTION</H3>
<PRE>
public static final int <B>YES_NO_OPTION</B></PRE>
<DL>
<DD>Type used for showConfirmDialog.</DL>
<HR>

<A NAME="YES_NO_CANCEL_OPTION"><!-- --></A><H3>
YES_NO_CANCEL_OPTION</H3>
<PRE>
public static final int <B>YES_NO_CANCEL_OPTION</B></PRE>
<DL>
<DD>Type used for showConfirmDialog.</DL>
<HR>

<A NAME="OK_CANCEL_OPTION"><!-- --></A><H3>
OK_CANCEL_OPTION</H3>
<PRE>
public static final int <B>OK_CANCEL_OPTION</B></PRE>
<DL>
<DD>Type used for showConfirmDialog.</DL>
<HR>

<A NAME="YES_OPTION"><!-- --></A><H3>
YES_OPTION</H3>
<PRE>
public static final int <B>YES_OPTION</B></PRE>
<DL>
<DD>Return value from class method if YES is chosen.</DL>
<HR>

<A NAME="NO_OPTION"><!-- --></A><H3>
NO_OPTION</H3>
<PRE>
public static final int <B>NO_OPTION</B></PRE>
<DL>
<DD>Return value from class method if NO is chosen.</DL>
<HR>

<A NAME="CANCEL_OPTION"><!-- --></A><H3>
CANCEL_OPTION</H3>
<PRE>
public static final int <B>CANCEL_OPTION</B></PRE>
<DL>
<DD>Return value from class method if CANCEL is chosen.</DL>
<HR>

<A NAME="OK_OPTION"><!-- --></A><H3>
OK_OPTION</H3>
<PRE>
public static final int <B>OK_OPTION</B></PRE>
<DL>
<DD>Return value form class method if OK is chosen.</DL>
<HR>

<A NAME="CLOSED_OPTION"><!-- --></A><H3>
CLOSED_OPTION</H3>
<PRE>
public static final int <B>CLOSED_OPTION</B></PRE>
<DL>
<DD>Return value from class method if user closes window without selecting
 anything, more than likely this should be treated as either a
 CANCEL_OPTION or NO_OPTION.</DL>
<HR>

<A NAME="ERROR_MESSAGE"><!-- --></A><H3>
ERROR_MESSAGE</H3>
<PRE>
public static final int <B>ERROR_MESSAGE</B></PRE>
<DL>
<DD>Used for error messages.</DL>
<HR>

<A NAME="INFORMATION_MESSAGE"><!-- --></A><H3>
INFORMATION_MESSAGE</H3>
<PRE>
public static final int <B>INFORMATION_MESSAGE</B></PRE>
<DL>
<DD>Used for information messages.</DL>
<HR>

<A NAME="WARNING_MESSAGE"><!-- --></A><H3>
WARNING_MESSAGE</H3>
<PRE>
public static final int <B>WARNING_MESSAGE</B></PRE>
<DL>
<DD>Used for warning messages.</DL>
<HR>

<A NAME="QUESTION_MESSAGE"><!-- --></A><H3>
QUESTION_MESSAGE</H3>
<PRE>
public static final int <B>QUESTION_MESSAGE</B></PRE>
<DL>
<DD>Used for questions.</DL>
<HR>

<A NAME="PLAIN_MESSAGE"><!-- --></A><H3>
PLAIN_MESSAGE</H3>
<PRE>
public static final int <B>PLAIN_MESSAGE</B></PRE>
<DL>
<DD>No icon is used.</DL>
<HR>

<A NAME="ICON_PROPERTY"><!-- --></A><H3>
ICON_PROPERTY</H3>
<PRE>
public static final java.lang.String <B>ICON_PROPERTY</B></PRE>
<DL>
<DD>Bound property name for icon.</DL>
<HR>

<A NAME="MESSAGE_PROPERTY"><!-- --></A><H3>
MESSAGE_PROPERTY</H3>
<PRE>
public static final java.lang.String <B>MESSAGE_PROPERTY</B></PRE>
<DL>
<DD>Bound property name for message.</DL>
<HR>

<A NAME="VALUE_PROPERTY"><!-- --></A><H3>
VALUE_PROPERTY</H3>
<PRE>
public static final java.lang.String <B>VALUE_PROPERTY</B></PRE>
<DL>
<DD>Bounds property name for value.</DL>
<HR>

<A NAME="OPTIONS_PROPERTY"><!-- --></A><H3>
OPTIONS_PROPERTY</H3>
<PRE>
public static final java.lang.String <B>OPTIONS_PROPERTY</B></PRE>
<DL>
<DD>Bounds property namer for option.</DL>
<HR>

<A NAME="INITIAL_VALUE_PROPERTY"><!-- --></A><H3>
INITIAL_VALUE_PROPERTY</H3>
<PRE>
public static final java.lang.String <B>INITIAL_VALUE_PROPERTY</B></PRE>
<DL>
<DD>Bounds property name for initialValue.</DL>
<HR>

<A NAME="MESSAGE_TYPE_PROPERTY"><!-- --></A><H3>
MESSAGE_TYPE_PROPERTY</H3>
<PRE>
public static final java.lang.String <B>MESSAGE_TYPE_PROPERTY</B></PRE>
<DL>
<DD>Bounds property name for type.</DL>
<HR>

<A NAME="OPTION_TYPE_PROPERTY"><!-- --></A><H3>
OPTION_TYPE_PROPERTY</H3>
<PRE>
public static final java.lang.String <B>OPTION_TYPE_PROPERTY</B></PRE>
<DL>
<DD>Bound property name for optionType.</DL>
<HR>

<A NAME="SELECTION_VALUES_PROPERTY"><!-- --></A><H3>
SELECTION_VALUES_PROPERTY</H3>
<PRE>
public static final java.lang.String <B>SELECTION_VALUES_PROPERTY</B></PRE>
<DL>
<DD>Bound property name for selectionValues.</DL>
<HR>

<A NAME="INITIAL_SELECTION_VALUE_PROPERTY"><!-- --></A><H3>
INITIAL_SELECTION_VALUE_PROPERTY</H3>
<PRE>
public static final java.lang.String <B>INITIAL_SELECTION_VALUE_PROPERTY</B></PRE>
<DL>
<DD>Bound property name for initialSelectionValue.</DL>
<HR>

<A NAME="INPUT_VALUE_PROPERTY"><!-- --></A><H3>
INPUT_VALUE_PROPERTY</H3>
<PRE>
public static final java.lang.String <B>INPUT_VALUE_PROPERTY</B></PRE>
<DL>
<DD>Bound property name for inputValue.</DL>
<HR>

<A NAME="WANTS_INPUT_PROPERTY"><!-- --></A><H3>
WANTS_INPUT_PROPERTY</H3>
<PRE>
public static final java.lang.String <B>WANTS_INPUT_PROPERTY</B></PRE>
<DL>
<DD>Bound property name for wantsInput.</DL>
<HR>

<A NAME="icon"><!-- --></A><H3>
icon</H3>
<PRE>
protected transient <A HREF="../../javax/swing/Icon.html">Icon</A> <B>icon</B></PRE>
<DL>
<DD>Icon used in pane.</DL>
<HR>

<A NAME="message"><!-- --></A><H3>
message</H3>
<PRE>
protected transient java.lang.Object <B>message</B></PRE>
<DL>
<DD>Message to display.</DL>
<HR>

<A NAME="options"><!-- --></A><H3>
options</H3>
<PRE>
protected transient java.lang.Object[] <B>options</B></PRE>
<DL>
<DD>Options to display to the user.</DL>
<HR>

<A NAME="initialValue"><!-- --></A><H3>
initialValue</H3>
<PRE>
protected transient java.lang.Object <B>initialValue</B></PRE>
<DL>
<DD>Value that should be initialy selected in options.</DL>
<HR>

<A NAME="messageType"><!-- --></A><H3>
messageType</H3>
<PRE>
protected int <B>messageType</B></PRE>
<DL>
<DD>Message type.</DL>
<HR>

<A NAME="optionType"><!-- --></A><H3>
optionType</H3>
<PRE>
protected int <B>optionType</B></PRE>
<DL>
<DD>Option type, one of DEFAULT_OPTION, YES_NO_OPTION,
 YES_NO_CANCEL_OPTION or OK_CANCEL_OPTION.</DL>
<HR>

<A NAME="value"><!-- --></A><H3>
value</H3>
<PRE>
protected transient java.lang.Object <B>value</B></PRE>
<DL>
<DD>Currently selected value, will be a valid option, or
 UNINITIALIZED_VALUE or null.</DL>
<HR>

<A NAME="selectionValues"><!-- --></A><H3>
selectionValues</H3>
<PRE>
protected transient java.lang.Object[] <B>selectionValues</B></PRE>
<DL>
<DD>Array of values the user can choose from. Look and feel will
 provide the UI component to choose this from.</DL>
<HR>

<A NAME="inputValue"><!-- --></A><H3>
inputValue</H3>
<PRE>
protected transient java.lang.Object <B>inputValue</B></PRE>
<DL>
<DD>Value the user has input.</DL>
<HR>

<A NAME="initialSelectionValue"><!-- --></A><H3>
initialSelectionValue</H3>
<PRE>
protected transient java.lang.Object <B>initialSelectionValue</B></PRE>
<DL>
<DD>Initial value to select in selectionValues.</DL>
<HR>

<A NAME="wantsInput"><!-- --></A><H3>
wantsInput</H3>
<PRE>
protected boolean <B>wantsInput</B></PRE>
<DL>
<DD>If true, a UI widget will be provided to the user to get input.</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="JOptionPane()"><!-- --></A><H3>
JOptionPane</H3>
<PRE>
public <B>JOptionPane</B>()</PRE>
<DL>
<DD>Creates a JOptionPane with a test message.</DL>
<HR>

<A NAME="JOptionPane(java.lang.Object)"><!-- --></A><H3>
JOptionPane</H3>
<PRE>
public <B>JOptionPane</B>(java.lang.Object&nbsp;message)</PRE>
<DL>
<DD>Creates a instance of JOptionPane to display a message using the 
 plain-message message type and the default options delivered by
 the UI.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>message</CODE> - the Object to display</DL>
</DD>
</DL>
<HR>

<A NAME="JOptionPane(java.lang.Object, int)"><!-- --></A><H3>
JOptionPane</H3>
<PRE>
public <B>JOptionPane</B>(java.lang.Object&nbsp;message,
                   int&nbsp;messageType)</PRE>
<DL>
<DD>Creates an instance of JOptionPane to display a message
 with the specified message type and the default options,<DD><DL>
<DT><B>Parameters:</B><DD><CODE>message</CODE> - the Object to display<DD><CODE>messageType</CODE> - the type of message to be displayed:
                    ERROR_MESSAGE, INFORMATION_MESSAGE, WARNING_MESSAGE,
                    QUESTION_MESSAGE, or PLAIN_MESSAGE.</DL>
</DD>
</DL>
<HR>

<A NAME="JOptionPane(java.lang.Object, int, int)"><!-- --></A><H3>
JOptionPane</H3>
<PRE>
public <B>JOptionPane</B>(java.lang.Object&nbsp;message,
                   int&nbsp;messageType,
                   int&nbsp;optionType)</PRE>
<DL>
<DD>Creates an instance of JOptionPane to display a message
 with the specified message type and options.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>message</CODE> - the Object to display<DD><CODE>messageType</CODE> - the type of message to be displayed:
                    ERROR_MESSAGE, INFORMATION_MESSAGE, WARNING_MESSAGE,
                    QUESTION_MESSAGE, or PLAIN_MESSAGE.<DD><CODE>optionType</CODE> - the options to display in the pane:
                   DEFAULT_OPTION, YES_NO_OPTION, YES_NO_CANCEL_OPTION
                   OK_CANCEL_OPTION</DL>
</DD>
</DL>
<HR>

<A NAME="JOptionPane(java.lang.Object, int, int, javax.swing.Icon)"><!-- --></A><H3>
JOptionPane</H3>
<PRE>
public <B>JOptionPane</B>(java.lang.Object&nbsp;message,
                   int&nbsp;messageType,
                   int&nbsp;optionType,
                   <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</PRE>
<DL>
<DD>Creates an instance of JOptionPane to display a message
 with the specified message type, options, and icon.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>message</CODE> - the Object to display<DD><CODE>messageType</CODE> - the type of message to be displayed:
                    ERROR_MESSAGE, INFORMATION_MESSAGE, WARNING_MESSAGE,
                    QUESTION_MESSAGE, or PLAIN_MESSAGE.<DD><CODE>optionType</CODE> - the options to display in the pane:
                   DEFAULT_OPTION, YES_NO_OPTION, YES_NO_CANCEL_OPTION
                   OK_CANCEL_OPTION<DD><CODE>icon</CODE> - the Icon image to display</DL>
</DD>
</DL>
<HR>

<A NAME="JOptionPane(java.lang.Object, int, int, javax.swing.Icon, java.lang.Object[])"><!-- --></A><H3>
JOptionPane</H3>
<PRE>
public <B>JOptionPane</B>(java.lang.Object&nbsp;message,
                   int&nbsp;messageType,
                   int&nbsp;optionType,
                   <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon,
                   java.lang.Object[]&nbsp;options)</PRE>
<DL>
<DD>Creates an instance of JOptionPane to display a message
 with the specified message type, icon, and options.
 None of the options is initially selected.
 <p>
 The options objects should contain either instances of Components,
 (which are added directly) or Strings (which are wrapped in a 
 JButton). If you provide Components, you must ensure that when the
 Component is clicked it messages <code>setValue</code> in the
 created JOptionPane.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>message</CODE> - the Object to display<DD><CODE>messageType</CODE> - the type of message to be displayed:
                    ERROR_MESSAGE, INFORMATION_MESSAGE, WARNING_MESSAGE,
                    QUESTION_MESSAGE, or PLAIN_MESSAGE.<DD><CODE>optionType</CODE> - the options to display in the pane:
                   DEFAULT_OPTION, YES_NO_OPTION, YES_NO_CANCEL_OPTION
                   OK_CANCEL_OPTION. Only meaningful if the 
                   <code>options</code> parameter is null.<DD><CODE>icon</CODE> - the Icon image to display<DD><CODE>options</CODE> - the choices the user can select</DL>
</DD>
</DL>
<HR>

<A NAME="JOptionPane(java.lang.Object, int, int, javax.swing.Icon, java.lang.Object[], java.lang.Object)"><!-- --></A><H3>
JOptionPane</H3>
<PRE>
public <B>JOptionPane</B>(java.lang.Object&nbsp;message,
                   int&nbsp;messageType,
                   int&nbsp;optionType,
                   <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon,
                   java.lang.Object[]&nbsp;options,
                   java.lang.Object&nbsp;initialValue)</PRE>
<DL>
<DD>Creates an instance of JOptionPane to display a message
 with the specified message type, icon, and options, with the 
 inititially-selected option specified.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>message</CODE> - the Object to display<DD><CODE>messageType</CODE> - the type of message to be displayed:
                    ERROR_MESSAGE, INFORMATION_MESSAGE, WARNING_MESSAGE,
                    QUESTION_MESSAGE, or PLAIN_MESSAGE.<DD><CODE>optionType</CODE> - the options to display in the pane:
                   DEFAULT_OPTION, YES_NO_OPTION, YES_NO_CANCEL_OPTION
                   OK_CANCEL_OPTION. Only meaningful if the
                   <code>options</code> parameter is null.<DD><CODE>icon</CODE> - the Icon image to display<DD><CODE>options</CODE> - the choices the user can select<DD><CODE>initialValue</CODE> - the choice that is initially selected</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="showInputDialog(java.lang.Object)"><!-- --></A><H3>
showInputDialog</H3>
<PRE>
public static java.lang.String <B>showInputDialog</B>(java.lang.Object&nbsp;message)</PRE>
<DL>
<DD>Shows a question-message dialog requesting input from the user. The 
 dialog uses the default frame, which usually means it is centered on 
 the screen.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>message</CODE> - the Object to display</DL>
</DD>
</DL>
<HR>

<A NAME="showInputDialog(java.awt.Component, java.lang.Object)"><!-- --></A><H3>
showInputDialog</H3>
<PRE>
public static java.lang.String <B>showInputDialog</B>(java.awt.Component&nbsp;parentComponent,
                                               java.lang.Object&nbsp;message)</PRE>
<DL>
<DD>Shows a question-message dialog requesting input from the user parented to
 <code>parentComponent</code>. The dialog is displayed in the Component's
 frame, and is usually positioned below the Component.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parentComponent</CODE> - the parent Component for the dialog<DD><CODE>message</CODE> - the Object to display</DL>
</DD>
</DL>
<HR>

<A NAME="showInputDialog(java.awt.Component, java.lang.Object, java.lang.String, int)"><!-- --></A><H3>
showInputDialog</H3>
<PRE>
public static java.lang.String <B>showInputDialog</B>(java.awt.Component&nbsp;parentComponent,
                                               java.lang.Object&nbsp;message,
                                               java.lang.String&nbsp;title,
                                               int&nbsp;messageType)</PRE>
<DL>
<DD>Shows a dialog requesting input from the user parented to
 <code>parentComponent</code> with the dialog having the title
 <code>title</code> and message type <code>messageType</code>.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parentComponent</CODE> - the parent Component for the dialog<DD><CODE>message</CODE> - the Object to display<DD><CODE>title</CODE> - the String to display in the dialog title bar<DD><CODE>messageType</CODE> - the type of message that is to be displayed:
                    ERROR_MESSAGE, INFORMATION_MESSAGE, WARNING_MESSAGE,
                    QUESTION_MESSAGE, or PLAIN_MESSAGE.</DL>
</DD>
</DL>
<HR>

<A NAME="showInputDialog(java.awt.Component, java.lang.Object, java.lang.String, int, javax.swing.Icon, java.lang.Object[], java.lang.Object)"><!-- --></A><H3>
showInputDialog</H3>
<PRE>
public static java.lang.Object <B>showInputDialog</B>(java.awt.Component&nbsp;parentComponent,
                                               java.lang.Object&nbsp;message,
                                               java.lang.String&nbsp;title,
                                               int&nbsp;messageType,
                                               <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon,
                                               java.lang.Object[]&nbsp;selectionValues,
                                               java.lang.Object&nbsp;initialSelectionValue)</PRE>
<DL>
<DD>Prompts the user for input in a blocking dialog where the
 initial selection, possible selections, and all other options can
 be specified. The user will able to choose from
 <code>selectionValues</code>, where null implies the user can input
 whatever they wish, usually by means of a JTextField. 
 <code>initialSelectionValue</code> is the initial value to prompt
 the user with. It is up to the UI to decide how best to represent
 the <code>selectionValues</code>, but usually a JComboBox, JList, or
 JTextField will be used.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parentComponent</CODE> - the parent Component for the dialog<DD><CODE>message</CODE> - the Object to display<DD><CODE>title</CODE> - the String to display in the dialog title bar<DD><CODE>messageType</CODE> - the type of message to be displayed:
                    ERROR_MESSAGE, INFORMATION_MESSAGE, WARNING_MESSAGE,
                    QUESTION_MESSAGE, or PLAIN_MESSAGE.<DD><CODE>icon</CODE> - the Icon image to display<DD><CODE>selectionValues</CODE> - an array of Objects that gives the possible
                        selections<DD><CODE>initialSelectionValue</CODE> - the value used to initialize the input
                              field<DT><B>Returns:</B><DD>users input, or null meaning the user canceled the input</DL>
</DD>
</DL>
<HR>

<A NAME="showMessageDialog(java.awt.Component, java.lang.Object)"><!-- --></A><H3>
showMessageDialog</H3>
<PRE>
public static void <B>showMessageDialog</B>(java.awt.Component&nbsp;parentComponent,
                                     java.lang.Object&nbsp;message)</PRE>
<DL>
<DD>Brings up a confirmation dialog -- a modal information-message dialog
 titled "Confirm".<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parentComponent</CODE> - Determines the Frame in which the dialog is displayed. 
                  If null, or if the parentComponent has no Frame, a 
                  default Frame is used.<DD><CODE>message</CODE> - The Object to display</DL>
</DD>
</DL>
<HR>

<A NAME="showMessageDialog(java.awt.Component, java.lang.Object, java.lang.String, int)"><!-- --></A><H3>
showMessageDialog</H3>
<PRE>
public static void <B>showMessageDialog</B>(java.awt.Component&nbsp;parentComponent,
                                     java.lang.Object&nbsp;message,
                                     java.lang.String&nbsp;title,
                                     int&nbsp;messageType)</PRE>
<DL>
<DD>Brings up a dialog that displays a message using a default
 icon determined by the messageType parameter.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parentComponent</CODE> - Determines the Frame in which the dialog is displayed. 
                  If null, or if the parentComponent has no Frame, a 
                  default Frame is used.<DD><CODE>message</CODE> - The Object to display<DD><CODE>title</CODE> - the title string for the dialog<DD><CODE>messageType</CODE> - the type of message to be displayed:
                    ERROR_MESSAGE, INFORMATION_MESSAGE, WARNING_MESSAGE,
                    QUESTION_MESSAGE, or PLAIN_MESSAGE.</DL>
</DD>
</DL>
<HR>

<A NAME="showMessageDialog(java.awt.Component, java.lang.Object, java.lang.String, int, javax.swing.Icon)"><!-- --></A><H3>
showMessageDialog</H3>
<PRE>
public static void <B>showMessageDialog</B>(java.awt.Component&nbsp;parentComponent,
                                     java.lang.Object&nbsp;message,
                                     java.lang.String&nbsp;title,
                                     int&nbsp;messageType,
                                     <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</PRE>
<DL>
<DD>Brings up a dialog displaying a message, specifying all parameters.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parentComponent</CODE> - Determines the Frame in which the dialog is displayed. 
                  If null, or if the parentComponent has no Frame, a 
                  default Frame is used.<DD><CODE>message</CODE> - The Object to display<DD><CODE>title</CODE> - the title string for the dialog<DD><CODE>messageType</CODE> - the type of message to be displayed:
                    ERROR_MESSAGE, INFORMATION_MESSAGE, WARNING_MESSAGE,
                    QUESTION_MESSAGE, or PLAIN_MESSAGE.<DD><CODE>icon</CODE> - an icon to display in the dialog that helps the user
                  identify the kind of message that is being displayed.</DL>
</DD>
</DL>
<HR>

<A NAME="showConfirmDialog(java.awt.Component, java.lang.Object)"><!-- --></A><H3>
showConfirmDialog</H3>
<PRE>
public static int <B>showConfirmDialog</B>(java.awt.Component&nbsp;parentComponent,
                                    java.lang.Object&nbsp;message)</PRE>
<DL>
<DD>Brings up a modal dialog with the options Yes, No and Cancel; with the
 title, "Select an Option".<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parentComponent</CODE> - Determines the Frame in which the dialog is displayed. 
                  If null, or if the parentComponent has no Frame, a 
                  default Frame is used.<DD><CODE>message</CODE> - The Object to display<DT><B>Returns:</B><DD>an int indicating the option selected by the user</DL>
</DD>
</DL>
<HR>

<A NAME="showConfirmDialog(java.awt.Component, java.lang.Object, java.lang.String, int)"><!-- --></A><H3>
showConfirmDialog</H3>
<PRE>
public static int <B>showConfirmDialog</B>(java.awt.Component&nbsp;parentComponent,
                                    java.lang.Object&nbsp;message,
                                    java.lang.String&nbsp;title,
                                    int&nbsp;optionType)</PRE>
<DL>
<DD>Brings up a modal dialog where the number of choices is determined
 by the <code>optionType</code> parameter.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parentComponent</CODE> - Determines the Frame in which the dialog is displayed. 
                  If null, or if the parentComponent has no Frame, a 
                  default Frame is used.<DD><CODE>message</CODE> - The Object to display<DD><CODE>title</CODE> - the title string for the dialog<DD><CODE>optionType</CODE> - an int designating the options available on the dialog:
                   YES_NO_OPTION, or YES_NO_CANCEL_OPTION<DT><B>Returns:</B><DD>an int indicating the option selected by the user</DL>
</DD>
</DL>
<HR>

<A NAME="showConfirmDialog(java.awt.Component, java.lang.Object, java.lang.String, int, int)"><!-- --></A><H3>
showConfirmDialog</H3>
<PRE>
public static int <B>showConfirmDialog</B>(java.awt.Component&nbsp;parentComponent,
                                    java.lang.Object&nbsp;message,
                                    java.lang.String&nbsp;title,
                                    int&nbsp;optionType,
                                    int&nbsp;messageType)</PRE>
<DL>
<DD>Brings up a modal dialog where the number of choices is determined
 by the <code>optionType</code> parameter, where the <code>messageType</code>
 parameter determines the icon to display.
 The <code>messageType</code> parameter is primarily used to supply
 a default icon from the look and feel.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parentComponent</CODE> - Determines the Frame in which the dialog is displayed. 
                  If null, or if the parentComponent has no Frame, a 
                  default Frame is used.<DD><CODE>message</CODE> - The Object to display<DD><CODE>title</CODE> - the title string for the dialog<DD><CODE>optionType</CODE> - an int designating the options available on the dialog:
                   YES_NO_OPTION, or YES_NO_CANCEL_OPTION<DD><CODE>messageType</CODE> - an int designating the kind of message this is, 
                    primarily used to determine the icon from the pluggable
                    look and feel: ERROR_MESSAGE, INFORMATION_MESSAGE, 
                    WARNING_MESSAGE, QUESTION_MESSAGE, or PLAIN_MESSAGE.<DT><B>Returns:</B><DD>an int indicating the option selected by the user</DL>
</DD>
</DL>
<HR>

<A NAME="showConfirmDialog(java.awt.Component, java.lang.Object, java.lang.String, int, int, javax.swing.Icon)"><!-- --></A><H3>
showConfirmDialog</H3>
<PRE>
public static int <B>showConfirmDialog</B>(java.awt.Component&nbsp;parentComponent,
                                    java.lang.Object&nbsp;message,
                                    java.lang.String&nbsp;title,
                                    int&nbsp;optionType,
                                    int&nbsp;messageType,
                                    <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</PRE>
<DL>
<DD>Brings up a modal dialog with a specified icon, where the number of 
 choices is determined by the <code>optionType</code> parameter.
 The <code>messageType</code> parameter is primarily used to supply
 a default icon from the look and feel.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parentComponent</CODE> - Determines the Frame in which the dialog is displayed. 
                  If null, or if the parentComponent has no Frame, a 
                  default Frame is used.<DD><CODE>message</CODE> - The Object to display<DD><CODE>title</CODE> - the title string for the dialog<DD><CODE>optionType</CODE> - an int designating the options available on the dialog:
                   YES_NO_OPTION, or YES_NO_CANCEL_OPTION<DD><CODE>messageType</CODE> - an int designating the kind of message this is, 
                    primarily used to determine the icon from the pluggable
                    look and feel: ERROR_MESSAGE, INFORMATION_MESSAGE, 
                    WARNING_MESSAGE, QUESTION_MESSAGE, or PLAIN_MESSAGE.<DD><CODE>icon</CODE> - the icon to display in the dialog<DT><B>Returns:</B><DD>an int indicating the option selected by the user</DL>
</DD>
</DL>
<HR>

<A NAME="showOptionDialog(java.awt.Component, java.lang.Object, java.lang.String, int, int, javax.swing.Icon, java.lang.Object[], java.lang.Object)"><!-- --></A><H3>
showOptionDialog</H3>
<PRE>
public static int <B>showOptionDialog</B>(java.awt.Component&nbsp;parentComponent,
                                   java.lang.Object&nbsp;message,
                                   java.lang.String&nbsp;title,
                                   int&nbsp;optionType,
                                   int&nbsp;messageType,
                                   <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon,
                                   java.lang.Object[]&nbsp;options,
                                   java.lang.Object&nbsp;initialValue)</PRE>
<DL>
<DD>Brings up a modal dialog with a specified icon, where the initial
 choice is dermined by the <code>initialValue</code> parameter and
 the number of choices is determined by the <code>optionType</code> 
 parameter.
 <p>
 If <code>optionType</code> is YES_NO_OPTION, or YES_NO_CANCEL_OPTION
 and the <code>options</code> parameter is null, then the options are
 supplied by the look and feel. 
 <p>
 The <code>messageType</code> parameter is primarily used to supply
 a default icon from the look and feel.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parentComponent</CODE> - Determines the Frame in which the dialog is displayed. 
                  If null, or if the parentComponent has no Frame, a 
                  default Frame is used.<DD><CODE>message</CODE> - The Object to display<DD><CODE>title</CODE> - the title string for the dialog<DD><CODE>optionType</CODE> - an int designating the options available on the dialog:
                   YES_NO_OPTION, or YES_NO_CANCEL_OPTION<DD><CODE>messageType</CODE> - an int designating the kind of message this is, 
                    primarily used to determine the icon from the pluggable
                    look and feel: ERROR_MESSAGE, INFORMATION_MESSAGE, 
                    WARNING_MESSAGE, QUESTION_MESSAGE, or PLAIN_MESSAGE.<DD><CODE>icon</CODE> - the icon to display in the dialog<DD><CODE>options</CODE> - an array of objects indicating the possible choices
                  the user can make. If the objects are components, they
                  are rendered properly. Non-String objects are
                  rendered using their <code>toString</code> methods.
                  If this parameter is null, the options are determined
                  by the look and feel.<DD><CODE>initialValue</CODE> - the object that represents the default selection
                     for the dialog<DT><B>Returns:</B><DD>an int indicating the option chosen by the user, 
         or CLOSED_OPTION if the user closed the Dialog</DL>
</DD>
</DL>
<HR>

<A NAME="createDialog(java.awt.Component, java.lang.String)"><!-- --></A><H3>
createDialog</H3>
<PRE>
public <A HREF="../../javax/swing/JDialog.html">JDialog</A> <B>createDialog</B>(java.awt.Component&nbsp;parentComponent,
                            java.lang.String&nbsp;title)</PRE>
<DL>
<DD>Creates and returns a new JDialog wrapping <code>this</code>
 centered on the <code>parentComponent</code> in the 
 <code>parentComponent</code>'s frame.
 <code>title</code> is the title of the returned dialog.
 The returned JDialog will be set up such that once it is closed,
 or the user clicks on the OK button, the dialog will be disposed
 and closed.
Re if the parentComponent has no Frame, a 
                  default Frame is used.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>title</CODE> - the title string for the dialog<DT><B>Returns:</B><DD>a new JDialog containing this instance</DL>
</DD>
</DL>
<HR>

<A NAME="showInternalMessageDialog(java.awt.Component, java.lang.Object)"><!-- --></A><H3>
showInternalMessageDialog</H3>
<PRE>
public static void <B>showInternalMessageDialog</B>(java.awt.Component&nbsp;parentComponent,
                                             java.lang.Object&nbsp;message)</PRE>
<DL>
<DD>Brings up an internal confirmation dialog panel. The dialog
 is a modal information-message dialog titled "Message".<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parentComponent</CODE> - Determines the Frame in which the dialog is displayed. 
                  If null, or if the parentComponent has no Frame, a 
                  default Frame is used.<DD><CODE>message</CODE> - The object to display</DL>
</DD>
</DL>
<HR>

<A NAME="showInternalMessageDialog(java.awt.Component, java.lang.Object, java.lang.String, int)"><!-- --></A><H3>
showInternalMessageDialog</H3>
<PRE>
public static void <B>showInternalMessageDialog</B>(java.awt.Component&nbsp;parentComponent,
                                             java.lang.Object&nbsp;message,
                                             java.lang.String&nbsp;title,
                                             int&nbsp;messageType)</PRE>
<DL>
<DD>Brings up an internal dialog panel that displays a message 
 using a default icon determined by the messageType parameter.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parentComponent</CODE> - Determines the Frame in which the dialog is displayed. 
                  If null, or if the parentComponent has no Frame, a 
                  default Frame is used.<DD><CODE>message</CODE> - The Object to display<DD><CODE>title</CODE> - the title string for the dialog<DD><CODE>messageType</CODE> - the type of message to be displayed:
                    ERROR_MESSAGE, INFORMATION_MESSAGE, WARNING_MESSAGE,
                    QUESTION_MESSAGE, or PLAIN_MESSAGE.</DL>
</DD>
</DL>
<HR>

<A NAME="showInternalMessageDialog(java.awt.Component, java.lang.Object, java.lang.String, int, javax.swing.Icon)"><!-- --></A><H3>
showInternalMessageDialog</H3>
<PRE>
public static void <B>showInternalMessageDialog</B>(java.awt.Component&nbsp;parentComponent,
                                             java.lang.Object&nbsp;message,
                                             java.lang.String&nbsp;title,
                                             int&nbsp;messageType,
                                             <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</PRE>
<DL>
<DD>Brings up an internal dialog panel displaying a message, 
 specifying all parameters.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parentComponent</CODE> - Determines the Frame in which the dialog is displayed. 
                  If null, or if the parentComponent has no Frame, a 
                  default Frame is used.<DD><CODE>message</CODE> - The Object to display<DD><CODE>title</CODE> - the title string for the dialog<DD><CODE>messageType</CODE> - the type of message to be displayed:
                    ERROR_MESSAGE, INFORMATION_MESSAGE, WARNING_MESSAGE,
                    QUESTION_MESSAGE, or PLAIN_MESSAGE.<DD><CODE>icon</CODE> - an icon to display in the dialog that helps the user
                  identify the kind of message that is being displayed.</DL>
</DD>
</DL>
<HR>

<A NAME="showInternalConfirmDialog(java.awt.Component, java.lang.Object)"><!-- --></A><H3>
showInternalConfirmDialog</H3>
<PRE>
public static int <B>showInternalConfirmDialog</B>(java.awt.Component&nbsp;parentComponent,
                                            java.lang.Object&nbsp;message)</PRE>
<DL>
<DD>Brings up an internal dialog panel with the options Yes, No 
 and Cancel; with the title, "Select an Option".<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parentComponent</CODE> - Determines the Frame in which the dialog is displayed. 
                  If null, or if the parentComponent has no Frame, a 
                  default Frame is used.<DD><CODE>message</CODE> - The Object to display<DT><B>Returns:</B><DD>an int indicating the option selected by the user</DL>
</DD>
</DL>
<HR>

<A NAME="showInternalConfirmDialog(java.awt.Component, java.lang.Object, java.lang.String, int)"><!-- --></A><H3>
showInternalConfirmDialog</H3>
<PRE>
public static int <B>showInternalConfirmDialog</B>(java.awt.Component&nbsp;parentComponent,
                                            java.lang.Object&nbsp;message,
                                            java.lang.String&nbsp;title,
                                            int&nbsp;optionType)</PRE>
<DL>
<DD>Brings up a internal dialog panel where the number of choices 
 is determined by the <code>optionType</code> parameter.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parentComponent</CODE> - Determines the Frame in which the dialog is displayed. 
                  If null, or if the parentComponent has no Frame, a 
                  default Frame is used.<DD><CODE>message</CODE> - The object to display in the dialog. A Component object
                  is rendered as a Component. A String object is rendered
                  as a string. Other objects are converted to a String
                  using the <code>toString</code> method.<DD><CODE>title</CODE> - the title string for the dialog<DD><CODE>optionType</CODE> - an int designating the options available on the dialog:
                   YES_NO_OPTION, or YES_NO_CANCEL_OPTION<DT><B>Returns:</B><DD>an int indicating the option selected by the user</DL>
</DD>
</DL>
<HR>

<A NAME="showInternalConfirmDialog(java.awt.Component, java.lang.Object, java.lang.String, int, int)"><!-- --></A><H3>
showInternalConfirmDialog</H3>
<PRE>
public static int <B>showInternalConfirmDialog</B>(java.awt.Component&nbsp;parentComponent,
                                            java.lang.Object&nbsp;message,
                                            java.lang.String&nbsp;title,
                                            int&nbsp;optionType,
                                            int&nbsp;messageType)</PRE>
<DL>
<DD>Brings up an internal dialog panel where the number of choices
 is determined by the <code>optionType</code> parameter, where
 the <code>messageType</code> parameter determines the icon to display.
 The <code>messageType</code> parameter is primarily used to supply
 a default icon from the look and feel.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parentComponent</CODE> - Determines the Frame in which the dialog is displayed. 
                  If null, or if the parentComponent has no Frame, a 
                  default Frame is used.<DD><CODE>message</CODE> - The object to display in the dialog. A Component object
                  is rendered as a Component. A String object is rendered
                  as a string. Other objects are converted to a String
                  using the <code>toString</code> method.<DD><CODE>title</CODE> - the title string for the dialog<DD><CODE>optionType</CODE> - an int designating the options available on the dialog:
                   YES_NO_OPTION, or YES_NO_CANCEL_OPTION<DD><CODE>messageType</CODE> - an int designating the kind of message this is, 
                    primarily used to determine the icon from the pluggable
                    look and feel: ERROR_MESSAGE, INFORMATION_MESSAGE, 
                    WARNING_MESSAGE, QUESTION_MESSAGE, or PLAIN_MESSAGE.<DT><B>Returns:</B><DD>an int indicating the option selected by the user</DL>
</DD>
</DL>
<HR>

<A NAME="showInternalConfirmDialog(java.awt.Component, java.lang.Object, java.lang.String, int, int, javax.swing.Icon)"><!-- --></A><H3>
showInternalConfirmDialog</H3>
<PRE>
public static int <B>showInternalConfirmDialog</B>(java.awt.Component&nbsp;parentComponent,
                                            java.lang.Object&nbsp;message,
                                            java.lang.String&nbsp;title,
                                            int&nbsp;optionType,
                                            int&nbsp;messageType,
                                            <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon)</PRE>
<DL>
<DD>Brings up an internal dialog panel with a specified icon, where
 the number of choices is determined by the <code>optionType</code>
 parameter. 
 The <code>messageType</code> parameter is primarily used to supply
 a default icon from the look and feel.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parentComponent</CODE> - Determines the Frame in which the dialog is displayed. 
                  If null, or if the parentComponent has no Frame, a 
                  default Frame is used.<DD><CODE>message</CODE> - The object to display in the dialog. A Component object
                  is rendered as a Component. A String object is rendered
                  as a string. Other objects are converted to a String
                  using the <code>toString</code> method.<DD><CODE>title</CODE> - the title string for the dialog<DD><CODE>optionType</CODE> - an int designating the options available on the dialog:
                   YES_NO_OPTION, or YES_NO_CANCEL_OPTION<DD><CODE>messageType</CODE> - an int designating the kind of message this is, 
                    primarily used to determine the icon from the pluggable
                    look and feel: ERROR_MESSAGE, INFORMATION_MESSAGE, 
                    WARNING_MESSAGE, QUESTION_MESSAGE, or PLAIN_MESSAGE.<DD><CODE>icon</CODE> - the icon to display in the dialog<DT><B>Returns:</B><DD>an int indicating the option selected by the user</DL>
</DD>
</DL>
<HR>

<A NAME="showInternalOptionDialog(java.awt.Component, java.lang.Object, java.lang.String, int, int, javax.swing.Icon, java.lang.Object[], java.lang.Object)"><!-- --></A><H3>
showInternalOptionDialog</H3>
<PRE>
public static int <B>showInternalOptionDialog</B>(java.awt.Component&nbsp;parentComponent,
                                           java.lang.Object&nbsp;message,
                                           java.lang.String&nbsp;title,
                                           int&nbsp;optionType,
                                           int&nbsp;messageType,
                                           <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon,
                                           java.lang.Object[]&nbsp;options,
                                           java.lang.Object&nbsp;initialValue)</PRE>
<DL>
<DD>Brings up an internal dialog panel with a specified icon, where
 the initial choice is dermined by the <code>initialValue</code>
 parameter and the number of choices is determined by the 
 <code>optionType</code> parameter.
 <p>
 If <code>optionType</code> is YES_NO_OPTION, or YES_NO_CANCEL_OPTION
 and the <code>options</code> parameter is null, then the options are
 supplied by the look and feel. 
 <p>
 The <code>messageType</code> parameter is primarily used to supply
 a default icon from the look and feel.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parentComponent</CODE> - Determines the Frame in which the dialog is displayed. 
                  If null, or if the parentComponent has no Frame, a 
                  default Frame is used.<DD><CODE>message</CODE> - The object to display in the dialog. A Component object
                  is rendered as a Component. A String object is rendered
                  as a string. Other objects are converted to a String
                  using the <code>toString</code> method.<DD><CODE>title</CODE> - the title string for the dialog<DD><CODE>optionType</CODE> - an int designating the options available on the dialog:
                   YES_NO_OPTION, or YES_NO_CANCEL_OPTION<DD><CODE>messageType</CODE> - an int designating the kind of message this is, 
                    primarily used to determine the icon from the pluggable
                    look and feel: ERROR_MESSAGE, INFORMATION_MESSAGE, 
                    WARNING_MESSAGE, QUESTION_MESSAGE, or PLAIN_MESSAGE.<DD><CODE>icon</CODE> - the icon to display in the dialog<DD><CODE>options</CODE> - an array of objects indicating the possible choices
                  the user can make. If the objects are components, they
                  are rendered properly. Non-String objects are
                  rendered using their <code>toString</code> methods.
                  If this parameter is null, the options are determined
                  by the look and feel.<DD><CODE>initialValue</CODE> - the object that represents the default selection
                     for the dialog<DT><B>Returns:</B><DD>an int indicating the option chosen by the user, 
         or CLOSED_OPTION if the user closed the Dialog</DL>
</DD>
</DL>
<HR>

<A NAME="showInternalInputDialog(java.awt.Component, java.lang.Object)"><!-- --></A><H3>
showInternalInputDialog</H3>
<PRE>
public static java.lang.String <B>showInternalInputDialog</B>(java.awt.Component&nbsp;parentComponent,
                                                       java.lang.Object&nbsp;message)</PRE>
<DL>
<DD>Shows an internal question-message dialog requesting input from
 the user parented to  <code>parentComponent</code>. The dialog
 is displayed in the Component's frame, and is usually positioned
 below the Component.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parentComponent</CODE> - the parent Component for the dialog<DD><CODE>message</CODE> - the Object to display</DL>
</DD>
</DL>
<HR>

<A NAME="showInternalInputDialog(java.awt.Component, java.lang.Object, java.lang.String, int)"><!-- --></A><H3>
showInternalInputDialog</H3>
<PRE>
public static java.lang.String <B>showInternalInputDialog</B>(java.awt.Component&nbsp;parentComponent,
                                                       java.lang.Object&nbsp;message,
                                                       java.lang.String&nbsp;title,
                                                       int&nbsp;messageType)</PRE>
<DL>
<DD>Shows an internal dialog requesting input from the user parented
 to <code>parentComponent</code> with the dialog having the title
 <code>title</code> and message type <code>messageType</code>.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parentComponent</CODE> - the parent Component for the dialog<DD><CODE>message</CODE> - the Object to display<DD><CODE>title</CODE> - the String to display in the dialog title bar<DD><CODE>messageType</CODE> - the type of message that is to be displayed:
                    ERROR_MESSAGE, INFORMATION_MESSAGE, WARNING_MESSAGE,
                    QUESTION_MESSAGE, or PLAIN_MESSAGE.</DL>
</DD>
</DL>
<HR>

<A NAME="showInternalInputDialog(java.awt.Component, java.lang.Object, java.lang.String, int, javax.swing.Icon, java.lang.Object[], java.lang.Object)"><!-- --></A><H3>
showInternalInputDialog</H3>
<PRE>
public static java.lang.Object <B>showInternalInputDialog</B>(java.awt.Component&nbsp;parentComponent,
                                                       java.lang.Object&nbsp;message,
                                                       java.lang.String&nbsp;title,
                                                       int&nbsp;messageType,
                                                       <A HREF="../../javax/swing/Icon.html">Icon</A>&nbsp;icon,
                                                       java.lang.Object[]&nbsp;selectionValues,
                                                       java.lang.Object&nbsp;initialSelectionValue)</PRE>
<DL>
<DD>Prompts the user for input in a blocking internal dialog where
 the initial selection, possible selections, and all other 
 options can be specified. The user will able to choose from
 <code>selectionValues</code>, where null implies the user can input
 whatever they wish, usually by means of a JTextField. 
 <code>initialSelectionValue</code> is the initial value to prompt
 the user with. It is up to the UI to decide how best to represent
 the <code>selectionValues</code>, but usually a JComboBox, JList, or
 JTextField will be used.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parentComponent</CODE> - the parent Component for the dialog<DD><CODE>message</CODE> - the Object to display<DD><CODE>title</CODE> - the String to display in the dialog title bar<DD><CODE>messageType</CODE> - the type of message to be displayed:
                    ERROR_MESSAGE, INFORMATION_MESSAGE, WARNING_MESSAGE,
                    QUESTION_MESSAGE, or PLAIN_MESSAGE.<DD><CODE>icon</CODE> - the Icon image to display<DD><CODE>selectionValues</CODE> - an array of Objects that gives the possible
                        selections<DD><CODE>initialSelectionValue</CODE> - the value used to initialize the input
                              field<DT><B>Returns:</B><DD>users input, or null meaning the user canceled the input</DL>
</DD>
</DL>
<HR>

<A NAME="createInternalFrame(java.awt.Component, java.lang.String)"><!-- --></A><H3>
createInternalFrame</H3>
<PRE>
public <A HREF="../../javax/swing/JInternalFrame.html">JInternalFrame</A> <B>createInternalFrame</B>(java.awt.Component&nbsp;parentComponent,
                                          java.lang.String&nbsp;title)</PRE>
<DL>
<DD>Creates and returns an instance of JInternalFrame. 
 The internal frame is created with the specified title,
 and wrapping the JOptionPane. The returned JInternalFrame is
 added to the JDesktopPane ancestor of parentComponent, or components
 parent if one its ancestors isn't a JDesktopPane, or if parentComponent
 doesn't have a parent then a <code>RuntimeException</code> is thrown.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parentComponent</CODE> - the parent Component for the internal frame<DD><CODE>title</CODE> - the String to display in the frame's title bar<DT><B>Returns:</B><DD>a JInternalFrame containing a JOptionPane</DL>
</DD>
</DL>
<HR>

<A NAME="getFrameForComponent(java.awt.Component)"><!-- --></A><H3>
getFrameForComponent</H3>
<PRE>
public static java.awt.Frame <B>getFrameForComponent</B>(java.awt.Component&nbsp;parentComponent)</PRE>
<DL>
<DD>Returns the specified component's Frame.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parentComponent</CODE> - the Component to check for a Frame<DT><B>Returns:</B><DD>the Frame that contains the component, or the default
         frame if the component is null, or does not have a valid 
         Frame parent</DL>
</DD>
</DL>
<HR>

<A NAME="getDesktopPaneForComponent(java.awt.Component)"><!-- --></A><H3>
getDesktopPaneForComponent</H3>
<PRE>
public static <A HREF="../../javax/swing/JDesktopPane.html">JDesktopPane</A> <B>getDesktopPaneForComponent</B>(java.awt.Component&nbsp;parentComponent)</PRE>
<DL>
<DD>Returns the specified component's desktop pane.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parentComponent</CODE> - the Component to check for a desktop<DT><B>Returns:</B><DD>the JDesktopPane that contains the component, or null
         if the component is null or does not have an ancestor 
         that is a JInternalFrame</DL>
</DD>
</DL>
<HR>

<A NAME="setRootFrame(java.awt.Frame)"><!-- --></A><H3>
setRootFrame</H3>
<PRE>
public static void <B>setRootFrame</B>(java.awt.Frame&nbsp;newRootFrame)</PRE>
<DL>
<DD>Sets the frame to use for class methods in which a frame is
 not provided.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>newRootFrame</CODE> - the default Frame to use</DL>
</DD>
</DL>
<HR>

<A NAME="getRootFrame()"><!-- --></A><H3>
getRootFrame</H3>
<PRE>
public static java.awt.Frame <B>getRootFrame</B>()</PRE>
<DL>
<DD>Returns the Frame to use for the class methods in which a frame
 is not provided.<DD><DL>
<DT><B>Returns:</B><DD>the default Frame to use</DL>
</DD>
</DL>
<HR>

<A NAME="setUI(javax.swing.plaf.OptionPaneUI)"><!-- --></A><H3>
setUI</H3>
<PRE>
public void <B>setUI</B>(<A HREF="../../javax/swing/plaf/OptionPaneUI.html">OptionPaneUI</A>&nbsp;ui)</PRE>
<DL>
<DD>Sets the UI object which implements the L&F for this component.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ui</CODE> - the OptionPaneUI 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="getUI()"><!-- --></A><H3>
getUI</H3>
<PRE>
public <A HREF="../../javax/swing/plaf/OptionPaneUI.html">OptionPaneUI</A> <B>getUI</B>()</PRE>
<DL>
<DD>Returns the UI object which implements the L&F for this component.<DD><DL>
<DT><B>Returns:</B><DD>the OptionPaneUI object</DL>
</DD>
</DL>
<HR>

<A NAME="updateUI()"><!-- --></A><H3>
updateUI</H3>
<PRE>
public void <B>updateUI</B>()</PRE>
<DL>
<DD>Notification from the UIManager that the L&F has changed. 
 Replaces the current UI object with the latest version from the 
 UIManager.<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 the name of the UI class that implements the
 L&F for this component.<DD><DL>
<DT><B>Returns:</B><DD>"OptionPaneUI"<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="setMessage(java.lang.Object)"><!-- --></A><H3>
setMessage</H3>
<PRE>
public void <B>setMessage</B>(java.lang.Object&nbsp;newMessage)</PRE>
<DL>
<DD>Sets the option pane's message-object.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>newMessage</CODE> - the Object to display<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JOptionPane.html#getMessage()"><CODE>getMessage()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getMessage()"><!-- --></A><H3>
getMessage</H3>
<PRE>
public java.lang.Object <B>getMessage</B>()</PRE>
<DL>
<DD>Returns the message-object this pane displays.<DD><DL>
<DT><B>Returns:</B><DD>the Object that is displayed<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JOptionPane.html#setMessage(java.lang.Object)"><CODE>setMessage(java.lang.Object)</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;newIcon)</PRE>
<DL>
<DD>Sets the icon to display. If non-null, the look and feel 
 does not provide an icon.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>icon</CODE> - the Icon to display<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JOptionPane.html#getIcon()"><CODE>getIcon()</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 icon this pane displays.<DD><DL>
<DT><B>Returns:</B><DD>the Icon that is displayed<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JOptionPane.html#setIcon(javax.swing.Icon)"><CODE>setIcon(javax.swing.Icon)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setValue(java.lang.Object)"><!-- --></A><H3>
setValue</H3>
<PRE>
public void <B>setValue</B>(java.lang.Object&nbsp;newValue)</PRE>
<DL>
<DD>Sets the value the user has chosen.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>newValue</CODE> - the chosen value<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JOptionPane.html#getValue()"><CODE>getValue()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getValue()"><!-- --></A><H3>
getValue</H3>
<PRE>
public java.lang.Object <B>getValue</B>()</PRE>
<DL>
<DD>Returns the value the user has selected. UNINITIALIZED_VALUE
 implies the user has not yet made a choice, null means the
 user closed the window with out chosing anything. Otherwise
 the returned value will be one of the options defined in this
 object.<DD><DL>
<DT><B>Returns:</B><DD>the Object chosen by the user, UNINITIALIZED_VALUE
         if the user has not yet made a choice, or null if
         the user closed the window without making a choice.<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JOptionPane.html#setValue(java.lang.Object)"><CODE>setValue(java.lang.Object)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setOptions(java.lang.Object[])"><!-- --></A><H3>
setOptions</H3>
<PRE>
public void <B>setOptions</B>(java.lang.Object[]&nbsp;newOptions)</PRE>
<DL>
<DD>Sets the options this pane displays. If an element in
 newOptions is a Comonent it is added directly to the pane,
 Otherwise a button is created for the element.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>newOptions</CODE> - an array of Objects that create the buttons
        the user can click on, or arbitrary Components to add
        to the pane<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JOptionPane.html#getOptions()"><CODE>getOptions()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getOptions()"><!-- --></A><H3>
getOptions</H3>
<PRE>
public java.lang.Object[] <B>getOptions</B>()</PRE>
<DL>
<DD>Returns the choices the user can make.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>the</CODE> - array of Objects that give the user's choices<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JOptionPane.html#setOptions(java.lang.Object[])"><CODE>setOptions(java.lang.Object[])</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setInitialValue(java.lang.Object)"><!-- --></A><H3>
setInitialValue</H3>
<PRE>
public void <B>setInitialValue</B>(java.lang.Object&nbsp;newInitialValue)</PRE>
<DL>
<DD>Sets the initial value that is to be enabled -- the Component
 that has the focus when the pane is initially displayed.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>newInitialValue</CODE> - the Object that gets the initial 
                         keyboard focus<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JOptionPane.html#getInitialValue()"><CODE>getInitialValue()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getInitialValue()"><!-- --></A><H3>
getInitialValue</H3>
<PRE>
public java.lang.Object <B>getInitialValue</B>()</PRE>
<DL>
<DD>Returns the initial value.<DD><DL>
<DT><B>Returns:</B><DD>the Object that gets the initial keyboard focus<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JOptionPane.html#setInitialValue(java.lang.Object)"><CODE>setInitialValue(java.lang.Object)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setMessageType(int)"><!-- --></A><H3>
setMessageType</H3>
<PRE>
public void <B>setMessageType</B>(int&nbsp;newType)</PRE>
<DL>
<DD>Sets the option pane's message type.
 The message type is used by the look and feel to determine the
 icon to display (if not supplied) as well as potentially how to
 lay out the parentComponent.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>newType</CODE> - an int specifying the kind of message to display:
                ERROR_MESSAGE, INFORMATION_MESSAGE, WARNING_MESSAGE,
                QUESTION_MESSAGE, or PLAIN_MESSAGE. Otherwise, 
                a RuntimeEception is thrown.<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JOptionPane.html#getMessageType()"><CODE>getMessageType()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getMessageType()"><!-- --></A><H3>
getMessageType</H3>
<PRE>
public int <B>getMessageType</B>()</PRE>
<DL>
<DD>Returns the message type.<DD><DL>
<DT><B>Returns:</B><DD>an int specifying the message type<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JOptionPane.html#setMessageType(int)"><CODE>setMessageType(int)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setOptionType(int)"><!-- --></A><H3>
setOptionType</H3>
<PRE>
public void <B>setOptionType</B>(int&nbsp;newType)</PRE>
<DL>
<DD>Sets the options to display. 
 The option type is used by the look and feel to
 determine what buttons to show (unless options are supplied).<DD><DL>
<DT><B>Parameters:</B><DD><CODE>newType</CODE> - an int specifying the options the L&F is to display:
                DEFAULT_OPTION, YES_NO_OPTION, YES_NO_CANCEL_OPTION,
                or OK_CANCEL_OPTION. Otherwise, a RuntimeException
                is thrown.<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JOptionPane.html#getOptionType()"><CODE>getOptionType()</CODE></A>, 
<A HREF="../../javax/swing/JOptionPane.html#setOptions(java.lang.Object[])"><CODE>setOptions(java.lang.Object[])</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getOptionType()"><!-- --></A><H3>
getOptionType</H3>
<PRE>
public int <B>getOptionType</B>()</PRE>
<DL>
<DD>Returns the type of options that are displayed.<DD><DL>
<DT><B>Returns:</B><DD>an int specifying the user-selectable options<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JOptionPane.html#setOptionType(int)"><CODE>setOptionType(int)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setSelectionValues(java.lang.Object[])"><!-- --></A><H3>
setSelectionValues</H3>
<PRE>
public void <B>setSelectionValues</B>(java.lang.Object[]&nbsp;newValues)</PRE>
<DL>
<DD>Sets the selection values for a pane that provides the user
 with a list of items to choose from. (The UI provides a widget 
 for choosing one of the values.) 
 <p>
 Sets <code>wantsInput</code> to true. Use
 <code>setInitialSelectionValue</code> to specify the initially-chosen
 value. After the pane as been enabled, inputValue is 
 set to the value the user has selected.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>newValues</CODE> - an array of Objects the user to be displayed
                  (usually in a list or combo-box) from which
                  the user can make a selection<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JOptionPane.html#setWantsInput(boolean)"><CODE>setWantsInput(boolean)</CODE></A>, 
<A HREF="../../javax/swing/JOptionPane.html#setInitialSelectionValue(java.lang.Object)"><CODE>setInitialSelectionValue(java.lang.Object)</CODE></A>, 
<A HREF="../../javax/swing/JOptionPane.html#getSelectionValues()"><CODE>getSelectionValues()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getSelectionValues()"><!-- --></A><H3>
getSelectionValues</H3>
<PRE>
public java.lang.Object[] <B>getSelectionValues</B>()</PRE>
<DL>
<DD>Returns the selection values.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>return</CODE> - the array of Objects the user can select<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JOptionPane.html#setSelectionValues(java.lang.Object[])"><CODE>setSelectionValues(java.lang.Object[])</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setInitialSelectionValue(java.lang.Object)"><!-- --></A><H3>
setInitialSelectionValue</H3>
<PRE>
public void <B>setInitialSelectionValue</B>(java.lang.Object&nbsp;newValue)</PRE>
<DL>
<DD>Sets the initial selection value. Only used if <code>wantsInput</code>
 is true.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>newValue</CODE> - the initially selected value<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JOptionPane.html#setSelectionValues(java.lang.Object[])"><CODE>setSelectionValues(java.lang.Object[])</CODE></A>, 
<A HREF="../../javax/swing/JOptionPane.html#getInitialSelectionValue()"><CODE>getInitialSelectionValue()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getInitialSelectionValue()"><!-- --></A><H3>
getInitialSelectionValue</H3>
<PRE>
public java.lang.Object <B>getInitialSelectionValue</B>()</PRE>
<DL>
<DD>Returns the initial-selection value..<DD><DL>
<DT><B>Returns:</B><DD>the initially selected value<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JOptionPane.html#setInitialSelectionValue(java.lang.Object)"><CODE>setInitialSelectionValue(java.lang.Object)</CODE></A>, 
<A HREF="../../javax/swing/JOptionPane.html#setSelectionValues(java.lang.Object[])"><CODE>setSelectionValues(java.lang.Object[])</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setInputValue(java.lang.Object)"><!-- --></A><H3>
setInputValue</H3>
<PRE>
public void <B>setInputValue</B>(java.lang.Object&nbsp;newValue)</PRE>
<DL>
<DD>Sets the user's input-value.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>newValue</CODE> - the Object used to initialized the value that
        the user specified (usually in a text field)<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JOptionPane.html#setSelectionValues(java.lang.Object[])"><CODE>setSelectionValues(java.lang.Object[])</CODE></A>, 
<A HREF="../../javax/swing/JOptionPane.html#setWantsInput(boolean)"><CODE>setWantsInput(boolean)</CODE></A>, 
<A HREF="../../javax/swing/JOptionPane.html#getInputValue()"><CODE>getInputValue()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getInputValue()"><!-- --></A><H3>
getInputValue</H3>
<PRE>
public java.lang.Object <B>getInputValue</B>()</PRE>
<DL>
<DD>Returns the value the user has input, if <code>wantsInput</code>
 is true.<DD><DL>
<DT><B>Returns:</B><DD>the Object the user specified, if it was one of the
         objects, or a String if it was a value typed into a
         field.<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JOptionPane.html#setSelectionValues(java.lang.Object[])"><CODE>setSelectionValues(java.lang.Object[])</CODE></A>, 
<A HREF="../../javax/swing/JOptionPane.html#setWantsInput(boolean)"><CODE>setWantsInput(boolean)</CODE></A>, 
<A HREF="../../javax/swing/JOptionPane.html#setInputValue(java.lang.Object)"><CODE>setInputValue(java.lang.Object)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getMaxCharactersPerLineCount()"><!-- --></A><H3>
getMaxCharactersPerLineCount</H3>
<PRE>
public int <B>getMaxCharactersPerLineCount</B>()</PRE>
<DL>
<DD>Returns the maximum number of characters to place on a line in a
 message. Default is to return Integer.MAX_VALUE. The value can be 
 changed by overriding this method in a subclasse.<DD><DL>
<DT><B>Returns:</B><DD>an int giving the maximum number of characters on a line</DL>
</DD>
</DL>
<HR>

<A NAME="setWantsInput(boolean)"><!-- --></A><H3>
setWantsInput</H3>
<PRE>
public void <B>setWantsInput</B>(boolean&nbsp;newValue)</PRE>
<DL>
<DD>If <code>newValue</code> is true, a parentComponent is provided to
 allow the user to input a value. If <code>getSelectionValues</code>
 returns a non-null the input value is one of the objects in that 
 array. Otherwise the input value is whatever the user inputs.
 <p>
 This is a bound property.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JOptionPane.html#setSelectionValues(java.lang.Object[])"><CODE>setSelectionValues(java.lang.Object[])</CODE></A>, 
<A HREF="../../javax/swing/JOptionPane.html#setInputValue(java.lang.Object)"><CODE>setInputValue(java.lang.Object)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getWantsInput()"><!-- --></A><H3>
getWantsInput</H3>
<PRE>
public boolean <B>getWantsInput</B>()</PRE>
<DL>
<DD>Returns true if a parentComponent will be provided for the user to
 input.<DD><DL>
<DT><B>Returns:</B><DD>true if a parentComponent will be provided<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JOptionPane.html#setWantsInput(boolean)"><CODE>setWantsInput(boolean)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="selectInitialValue()"><!-- --></A><H3>
selectInitialValue</H3>
<PRE>
public void <B>selectInitialValue</B>()</PRE>
<DL>
<DD>Requests that the initial value be selected, which will set
 focus to the initial value. This method
 should be invoked after the window containing the option pane
 is made visible.<DD><DL>
</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 JOptionPane. 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 JOptionPane.<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 associated with this JComponent<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 JComponent<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>
<!-- ========= 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/JOptionPane.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/JMenuItem.AccessibleJMenuItem.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/JOptionPane.AccessibleJOptionPane.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="JOptionPane.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>
