<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 05:57:38 GMT+01:00 1999 -->
<TITLE>
Swing 1.1 API Specification: Class  ProgressMonitor
</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/ProgressMonitor.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/OverlayLayout.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/ProgressMonitorInputStream.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="ProgressMonitor.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

<HR>
<!-- ======== START OF CLASS DATA ======== -->
<H2>
<FONT SIZE="-1">
javax.swing</FONT>
<BR>
Class  ProgressMonitor</H2>
<PRE>
java.lang.Object
  |
  +--<B>javax.swing.ProgressMonitor</B>
</PRE>
<HR>
<DL>
<DT>public class <B>ProgressMonitor</B><DT>extends java.lang.Object</DL>

<P>
A class to monitor the progress of some operation.  If it looks
 like it will take a while, a progress dialog will be popped up.
 When the ProgressMonitor is created it is given a numeric range and a descriptive
 string.  As the operation progresses, call the setProgress method
 to indicate how far along the [min,max] range the operation is.
 Initially, there is no ProgressDialog.  After the first millisToDecideToPopup
 milliseconds (default 500) the progress monitor will predict how long
 the operation will take.  If it is longer than millisToPopup (default 2000,
 2 seconds) a ProgressDialog will be popped up.
 <p>
 From time to time, when the Dialog box is visible, the progress bar will
 be updated when setProgress is called.  setProgress won't always update
 the progress bar, it will only be done if the amount of progress is
 visibly significant.
 <p>
<P>
<DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/ProgressMonitorInputStream.html"><CODE>ProgressMonitorInputStream</CODE></A></DL>
<HR>

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


<!-- =========== FIELD SUMMARY =========== -->


<!-- ======== 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/ProgressMonitor.html#ProgressMonitor(java.awt.Component, java.lang.Object, java.lang.String, int, int)">ProgressMonitor</A></B>(java.awt.Component&nbsp;parentComponent,
                java.lang.Object&nbsp;message,
                java.lang.String&nbsp;note,
                int&nbsp;min,
                int&nbsp;max)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructs a graphic object that shows progress, typically by filling
 in a rectangular bar as the process nears completion.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->

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

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicate that the operation is complete.</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/ProgressMonitor.html#getMaximum()">getMaximum</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the maximum value -- the higher end of the progress value.</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/ProgressMonitor.html#getMillisToDecideToPopup()">getMillisToDecideToPopup</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the amount of time this object waits before deciding whether
 or not to popup a progress monitor.</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/ProgressMonitor.html#getMillisToPopup()">getMillisToPopup</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the amount of time it will take for the popup to appear.</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/ProgressMonitor.html#getMinimum()">getMinimum</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the minimum value -- the lower end of the progress value.</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/ProgressMonitor.html#getNote()">getNote</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specifies the additional note that is displayed along with the
 progress message.</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/ProgressMonitor.html#isCanceled()">isCanceled</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if the user does some UI action to cancel this operation.</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/ProgressMonitor.html#setMaximum(int)">setMaximum</A></B>(int&nbsp;m)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specifies the maximum 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/ProgressMonitor.html#setMillisToDecideToPopup(int)">setMillisToDecideToPopup</A></B>(int&nbsp;millisToDecideToPopup)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specifies the amount of time to wait before deciding whether or
 not to popup a progress monitor.</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/ProgressMonitor.html#setMillisToPopup(int)">setMillisToPopup</A></B>(int&nbsp;millisToPopup)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specifies the amount of time it will take for the popup to appear.</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/ProgressMonitor.html#setMinimum(int)">setMinimum</A></B>(int&nbsp;m)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specifies the minimum 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/ProgressMonitor.html#setNote(java.lang.String)">setNote</A></B>(java.lang.String&nbsp;note)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specifies the additional note that is displayed along with the
 progress message.</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/ProgressMonitor.html#setProgress(int)">setProgress</A></B>(int&nbsp;nv)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Indicate the progress of the operation being monitored.</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, 
toString, 
wait, 
wait, 
wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

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


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

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

<A NAME="ProgressMonitor(java.awt.Component, java.lang.Object, java.lang.String, int, int)"><!-- --></A><H3>
ProgressMonitor</H3>
<PRE>
public <B>ProgressMonitor</B>(java.awt.Component&nbsp;parentComponent,
                       java.lang.Object&nbsp;message,
                       java.lang.String&nbsp;note,
                       int&nbsp;min,
                       int&nbsp;max)</PRE>
<DL>
<DD>Constructs a graphic object that shows progress, typically by filling
 in a rectangular bar as the process nears completion.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parentComponent</CODE> - the parent component for the dialog box<DD><CODE>message</CODE> - a descriptive message that will be shown
        to the user to indicate what operation is being monitored.
        This does not change as the operation progresses.
        See the message parameters to methods in <CODE>JOptionsPane#message</CODE>
        for the range of values.<DD><CODE>note</CODE> - a short note describing the state of the
        operation.  As the operation progresses, you can call
        setNote to change the note displayed.  This is used,
        for example, in operations that iterate through a
        list of files to show the name of the file being processes.
        If note is initially null, there will be no note line
        in the dialog box and setNote will be ineffective<DD><CODE>min</CODE> - the lower bound of the range<DD><CODE>max</CODE> - the upper bound of the range<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JDialog.html"><CODE>JDialog</CODE></A>, 
<A HREF="../../javax/swing/JOptionPane.html"><CODE>JOptionPane</CODE></A></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="setProgress(int)"><!-- --></A><H3>
setProgress</H3>
<PRE>
public void <B>setProgress</B>(int&nbsp;nv)</PRE>
<DL>
<DD>Indicate the progress of the operation being monitored.
 If the specified value is >= the maximum, the progress
 monitor is closed.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>nv</CODE> - an int specifying the current value, between the
        maximum and minimum specified for this component<DT><B>See Also: </B><DD><A HREF="../../javax/swing/ProgressMonitor.html#setMinimum(int)"><CODE>setMinimum(int)</CODE></A>, 
<A HREF="../../javax/swing/ProgressMonitor.html#setMaximum(int)"><CODE>setMaximum(int)</CODE></A>, 
<A HREF="../../javax/swing/ProgressMonitor.html#close()"><CODE>close()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="close()"><!-- --></A><H3>
close</H3>
<PRE>
public void <B>close</B>()</PRE>
<DL>
<DD>Indicate that the operation is complete.  This happens automatically
 when the value set by setProgress is >= max, but it may be called
 earlier if the operation ends early.</DL>
<HR>

<A NAME="getMinimum()"><!-- --></A><H3>
getMinimum</H3>
<PRE>
public int <B>getMinimum</B>()</PRE>
<DL>
<DD>Returns the minimum value -- the lower end of the progress value.<DD><DL>
<DT><B>Returns:</B><DD>an int representing the minimum value<DT><B>See Also: </B><DD><A HREF="../../javax/swing/ProgressMonitor.html#setMinimum(int)"><CODE>setMinimum(int)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setMinimum(int)"><!-- --></A><H3>
setMinimum</H3>
<PRE>
public void <B>setMinimum</B>(int&nbsp;m)</PRE>
<DL>
<DD>Specifies the minimum value.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>m</CODE> - an int specifying the minimum value<DT><B>See Also: </B><DD><A HREF="../../javax/swing/ProgressMonitor.html#getMinimum()"><CODE>getMinimum()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getMaximum()"><!-- --></A><H3>
getMaximum</H3>
<PRE>
public int <B>getMaximum</B>()</PRE>
<DL>
<DD>Returns the maximum value -- the higher end of the progress value.<DD><DL>
<DT><B>Returns:</B><DD>an int representing the maximum value<DT><B>See Also: </B><DD><A HREF="../../javax/swing/ProgressMonitor.html#setMaximum(int)"><CODE>setMaximum(int)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setMaximum(int)"><!-- --></A><H3>
setMaximum</H3>
<PRE>
public void <B>setMaximum</B>(int&nbsp;m)</PRE>
<DL>
<DD>Specifies the maximum value.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>m</CODE> - an int specifying the maximum value<DT><B>See Also: </B><DD><A HREF="../../javax/swing/ProgressMonitor.html#getMaximum()"><CODE>getMaximum()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="isCanceled()"><!-- --></A><H3>
isCanceled</H3>
<PRE>
public boolean <B>isCanceled</B>()</PRE>
<DL>
<DD>Returns true if the user does some UI action to cancel this operation.
 (like hitting the Cancel button on the progress dialog).</DL>
<HR>

<A NAME="setMillisToDecideToPopup(int)"><!-- --></A><H3>
setMillisToDecideToPopup</H3>
<PRE>
public void <B>setMillisToDecideToPopup</B>(int&nbsp;millisToDecideToPopup)</PRE>
<DL>
<DD>Specifies the amount of time to wait before deciding whether or
 not to popup a progress monitor.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>millisToDecideToPopup</CODE> - an int specifying the time to wait,
        in milliseconds<DT><B>See Also: </B><DD><A HREF="../../javax/swing/ProgressMonitor.html#getMillisToDecideToPopup()"><CODE>getMillisToDecideToPopup()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getMillisToDecideToPopup()"><!-- --></A><H3>
getMillisToDecideToPopup</H3>
<PRE>
public int <B>getMillisToDecideToPopup</B>()</PRE>
<DL>
<DD>Returns the amount of time this object waits before deciding whether
 or not to popup a progress monitor.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>millisToDecideToPopup</CODE> - an int specifying waiting time,
        in milliseconds<DT><B>See Also: </B><DD><A HREF="../../javax/swing/ProgressMonitor.html#setMillisToDecideToPopup(int)"><CODE>setMillisToDecideToPopup(int)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setMillisToPopup(int)"><!-- --></A><H3>
setMillisToPopup</H3>
<PRE>
public void <B>setMillisToPopup</B>(int&nbsp;millisToPopup)</PRE>
<DL>
<DD>Specifies the amount of time it will take for the popup to appear.
 (If the predicted time remaining is less than this time, the popup
 won't be displayed.)<DD><DL>
<DT><B>Parameters:</B><DD><CODE>millisToPopup</CODE> - an int specifying the time in milliseconds<DT><B>See Also: </B><DD><A HREF="../../javax/swing/ProgressMonitor.html#getMillisToPopup()"><CODE>getMillisToPopup()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getMillisToPopup()"><!-- --></A><H3>
getMillisToPopup</H3>
<PRE>
public int <B>getMillisToPopup</B>()</PRE>
<DL>
<DD>Returns the amount of time it will take for the popup to appear.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>millisToPopup</CODE> - an int specifying the time in milliseconds<DT><B>See Also: </B><DD><A HREF="../../javax/swing/ProgressMonitor.html#setMillisToPopup(int)"><CODE>setMillisToPopup(int)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="setNote(java.lang.String)"><!-- --></A><H3>
setNote</H3>
<PRE>
public void <B>setNote</B>(java.lang.String&nbsp;note)</PRE>
<DL>
<DD>Specifies the additional note that is displayed along with the
 progress message. Used, for example, to show which file the
 is currently being copied during a multiple-file copy.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>note</CODE> - a String specifying the note to display<DT><B>See Also: </B><DD><A HREF="../../javax/swing/ProgressMonitor.html#getNote()"><CODE>getNote()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getNote()"><!-- --></A><H3>
getNote</H3>
<PRE>
public java.lang.String <B>getNote</B>()</PRE>
<DL>
<DD>Specifies the additional note that is displayed along with the
 progress message.<DD><DL>
<DT><B>Returns:</B><DD>a String specifying the note to display<DT><B>See Also: </B><DD><A HREF="../../javax/swing/ProgressMonitor.html#setNote(java.lang.String)"><CODE>setNote(java.lang.String)</CODE></A></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" ID="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <TR ALIGN="center" VALIGN="top">
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="../../overview-summary.html"><FONT ID="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="package-summary.html"><FONT ID="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" ID="NavBarCell1Rev"> &nbsp;<FONT ID="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" ID="NavBarCell1">    <A HREF="class-use/ProgressMonitor.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/OverlayLayout.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/ProgressMonitorInputStream.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="ProgressMonitor.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
  SUMMARY: &nbsp;INNER&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" ID="NavBarCell3"><FONT SIZE="-2">
DETAIL: &nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<!-- =========== END OF NAVBAR =========== -->

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