<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
<!--NewPage-->
<HTML>
<HEAD>
<!-- Generated by javadoc on Tue Jun 29 05:57:39 GMT+01:00 1999 -->
<TITLE>
Swing 1.1 API Specification: Class  RepaintManager
</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/RepaintManager.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/ProgressMonitorInputStream.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/ScrollPaneLayout.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="RepaintManager.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  RepaintManager</H2>
<PRE>
java.lang.Object
  |
  +--<B>javax.swing.RepaintManager</B>
</PRE>
<HR>
<DL>
<DT>public class <B>RepaintManager</B><DT>extends java.lang.Object</DL>

<P>
This class manages repaint requests, allowing the number
 of repaints to be minimized, for example by collapsing multiple 
 requests into a single repaint for members of a component tree.
<P>
<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/RepaintManager.html#RepaintManager()">RepaintManager</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Create a new RepaintManager instance.</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/RepaintManager.html#addDirtyRegion(javax.swing.JComponent, int, int, int, int)">addDirtyRegion</A></B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A>&nbsp;c,
               int&nbsp;x,
               int&nbsp;y,
               int&nbsp;w,
               int&nbsp;h)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Add a component in the list of components that should be refreshed.</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/RepaintManager.html#addInvalidComponent(javax.swing.JComponent)">addInvalidComponent</A></B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A>&nbsp;invalidComponent)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mark the component as in need of layout and queue a runnable
 for the event dispatching thread that will validate the components
 first isValidateRoot() ancestor.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../javax/swing/RepaintManager.html">RepaintManager</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/RepaintManager.html#currentManager(java.awt.Component)">currentManager</A></B>(java.awt.Component&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the RepaintManager for the calling thread given a Component.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../javax/swing/RepaintManager.html">RepaintManager</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/RepaintManager.html#currentManager(javax.swing.JComponent)">currentManager</A></B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A>&nbsp;c)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the RepaintManager for the calling thread given a JComponent.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Rectangle</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/RepaintManager.html#getDirtyRegion(javax.swing.JComponent)">getDirtyRegion</A></B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A>&nbsp;aComponent)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the current dirty region for a component.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Dimension</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/RepaintManager.html#getDoubleBufferMaximumSize()">getDoubleBufferMaximumSize</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the maximum double buffer size.</TD>
</TR>
<TR BGCOLOR="white" ID="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.awt.Image</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../javax/swing/RepaintManager.html#getOffscreenBuffer(java.awt.Component, int, int)">getOffscreenBuffer</A></B>(java.awt.Component&nbsp;c,
                   int&nbsp;proposedWidth,
                   int&nbsp;proposedHeight)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the offscreen buffer that should be used as a double buffer with the component <code>c</code>
 By default there is a double buffer per RepaintManager.</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/RepaintManager.html#isCompletelyDirty(javax.swing.JComponent)">isCompletelyDirty</A></B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A>&nbsp;aComponent)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Convenience method that returns true if <b>aComponent</b> will be completely
 painted during the next paintDirtyRegions().</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/RepaintManager.html#isDoubleBufferingEnabled()">isDoubleBufferingEnabled</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns true if this object is double buffered.</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/RepaintManager.html#markCompletelyClean(javax.swing.JComponent)">markCompletelyClean</A></B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A>&nbsp;aComponent)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mark a component completely clean.</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/RepaintManager.html#markCompletelyDirty(javax.swing.JComponent)">markCompletelyDirty</A></B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A>&nbsp;aComponent)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Mark a component completely dirty.</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/RepaintManager.html#paintDirtyRegions()">paintDirtyRegions</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Paint all of the components that have been marked dirty.</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/RepaintManager.html#removeInvalidComponent(javax.swing.JComponent)">removeInvalidComponent</A></B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A>&nbsp;component)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove a component from the list of invalid components.</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/RepaintManager.html#setCurrentManager(javax.swing.RepaintManager)">setCurrentManager</A></B>(<A HREF="../../javax/swing/RepaintManager.html">RepaintManager</A>&nbsp;aRepaintManager)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the RepaintManager that should be used for the calling 
 thread.</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/RepaintManager.html#setDoubleBufferingEnabled(boolean)">setDoubleBufferingEnabled</A></B>(boolean&nbsp;aFlag)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Enables or disables double buffering.</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/RepaintManager.html#setDoubleBufferMaximumSize(java.awt.Dimension)">setDoubleBufferMaximumSize</A></B>(java.awt.Dimension&nbsp;d)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the maximum double buffer size.</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/RepaintManager.html#toString()">toString</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a string that displays and identifies this
 object's properties.</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/RepaintManager.html#validateInvalidComponents()">validateInvalidComponents</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Validate all of the components that have been marked invalid.</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 =========== -->


<!-- ========= 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="RepaintManager()"><!-- --></A><H3>
RepaintManager</H3>
<PRE>
public <B>RepaintManager</B>()</PRE>
<DL>
<DD>Create a new RepaintManager instance. You rarely call this constructor.
 directly. To get the default RepaintManager, use 
 RepaintManager.currentManager(JComponent) (normally "this").</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="currentManager(java.awt.Component)"><!-- --></A><H3>
currentManager</H3>
<PRE>
public static <A HREF="../../javax/swing/RepaintManager.html">RepaintManager</A> <B>currentManager</B>(java.awt.Component&nbsp;c)</PRE>
<DL>
<DD>Return the RepaintManager for the calling thread given a Component.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - a Component -- unused in the default implementation, but could
          be used by an overridden version to return a different RepaintManager
          depending on the Component<DT><B>Returns:</B><DD>the RepaintManager object</DL>
</DD>
</DL>
<HR>

<A NAME="currentManager(javax.swing.JComponent)"><!-- --></A><H3>
currentManager</H3>
<PRE>
public static <A HREF="../../javax/swing/RepaintManager.html">RepaintManager</A> <B>currentManager</B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A>&nbsp;c)</PRE>
<DL>
<DD>Return the RepaintManager for the calling thread given a JComponent.
 <p>
 Note: This method exists for backward binary compatibility with earlier
 versions of the Swing library. It simply returns the result returned by
 <A HREF="../../javax/swing/RepaintManager.html#currentManager(java.awt.Component)"><CODE>currentManager(Component)</CODE></A>.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>c</CODE> - a JComponent -- unused<DT><B>Returns:</B><DD>the RepaintManager object</DL>
</DD>
</DL>
<HR>

<A NAME="setCurrentManager(javax.swing.RepaintManager)"><!-- --></A><H3>
setCurrentManager</H3>
<PRE>
public static void <B>setCurrentManager</B>(<A HREF="../../javax/swing/RepaintManager.html">RepaintManager</A>&nbsp;aRepaintManager)</PRE>
<DL>
<DD>Set the RepaintManager that should be used for the calling 
 thread. <b>aRepaintManager</b> will become the current RepaintManager
 for the calling thread's thread group.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>aRepaintManager</CODE> - the RepaintManager object to use</DL>
</DD>
</DL>
<HR>

<A NAME="addInvalidComponent(javax.swing.JComponent)"><!-- --></A><H3>
addInvalidComponent</H3>
<PRE>
public void <B>addInvalidComponent</B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A>&nbsp;invalidComponent)</PRE>
<DL>
<DD>Mark the component as in need of layout and queue a runnable
 for the event dispatching thread that will validate the components
 first isValidateRoot() ancestor.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JComponent.html#isValidateRoot()"><CODE>JComponent.isValidateRoot()</CODE></A>, 
<A HREF="../../javax/swing/RepaintManager.html#removeInvalidComponent(javax.swing.JComponent)"><CODE>removeInvalidComponent(javax.swing.JComponent)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="removeInvalidComponent(javax.swing.JComponent)"><!-- --></A><H3>
removeInvalidComponent</H3>
<PRE>
public void <B>removeInvalidComponent</B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A>&nbsp;component)</PRE>
<DL>
<DD>Remove a component from the list of invalid components.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/RepaintManager.html#addInvalidComponent(javax.swing.JComponent)"><CODE>addInvalidComponent(javax.swing.JComponent)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="addDirtyRegion(javax.swing.JComponent, int, int, int, int)"><!-- --></A><H3>
addDirtyRegion</H3>
<PRE>
public void <B>addDirtyRegion</B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A>&nbsp;c,
                           int&nbsp;x,
                           int&nbsp;y,
                           int&nbsp;w,
                           int&nbsp;h)</PRE>
<DL>
<DD>Add a component in the list of components that should be refreshed.
 If <i>c</i> already has a dirty region, the rectangle <i>(x,y,w,h)</i> 
 will be unioned with the region that should be redrawn.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/JComponent.html#repaint(long, int, int, int, int)"><CODE>JComponent.repaint(long, int, int, int, int)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getDirtyRegion(javax.swing.JComponent)"><!-- --></A><H3>
getDirtyRegion</H3>
<PRE>
public java.awt.Rectangle <B>getDirtyRegion</B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A>&nbsp;aComponent)</PRE>
<DL>
<DD>Return the current dirty region for a component.
  Return an empty rectangle if the component is not
  dirty.</DL>
<HR>

<A NAME="markCompletelyDirty(javax.swing.JComponent)"><!-- --></A><H3>
markCompletelyDirty</H3>
<PRE>
public void <B>markCompletelyDirty</B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A>&nbsp;aComponent)</PRE>
<DL>
<DD>Mark a component completely dirty. <b>aComponent</b> will be
 completely painted during the next paintDirtyRegions() call.</DL>
<HR>

<A NAME="markCompletelyClean(javax.swing.JComponent)"><!-- --></A><H3>
markCompletelyClean</H3>
<PRE>
public void <B>markCompletelyClean</B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A>&nbsp;aComponent)</PRE>
<DL>
<DD>Mark a component completely clean. <b>aComponent</b> will not
 get painted during the next paintDirtyRegions() call.</DL>
<HR>

<A NAME="isCompletelyDirty(javax.swing.JComponent)"><!-- --></A><H3>
isCompletelyDirty</H3>
<PRE>
public boolean <B>isCompletelyDirty</B>(<A HREF="../../javax/swing/JComponent.html">JComponent</A>&nbsp;aComponent)</PRE>
<DL>
<DD>Convenience method that returns true if <b>aComponent</b> will be completely
 painted during the next paintDirtyRegions(). If computing dirty regions is
 expensive for your component, use this method and avoid computing dirty region
 if it return true.</DL>
<HR>

<A NAME="validateInvalidComponents()"><!-- --></A><H3>
validateInvalidComponents</H3>
<PRE>
public void <B>validateInvalidComponents</B>()</PRE>
<DL>
<DD>Validate all of the components that have been marked invalid.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/RepaintManager.html#addInvalidComponent(javax.swing.JComponent)"><CODE>addInvalidComponent(javax.swing.JComponent)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="paintDirtyRegions()"><!-- --></A><H3>
paintDirtyRegions</H3>
<PRE>
public void <B>paintDirtyRegions</B>()</PRE>
<DL>
<DD>Paint all of the components that have been marked dirty.<DD><DL>
<DT><B>See Also: </B><DD><A HREF="../../javax/swing/RepaintManager.html#addDirtyRegion(javax.swing.JComponent, int, int, int, int)"><CODE>addDirtyRegion(javax.swing.JComponent, int, int, int, int)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="toString()"><!-- --></A><H3>
toString</H3>
<PRE>
public java.lang.String <B>toString</B>()</PRE>
<DL>
<DD>Returns a string that displays and identifies this
 object's properties.<DD><DL>
<DT><B>Returns:</B><DD>a String representation of this object<DT><B>Overrides:</B><DD>toString in class java.lang.Object</DL>
</DD>
</DL>
<HR>

<A NAME="getOffscreenBuffer(java.awt.Component, int, int)"><!-- --></A><H3>
getOffscreenBuffer</H3>
<PRE>
public java.awt.Image <B>getOffscreenBuffer</B>(java.awt.Component&nbsp;c,
                                         int&nbsp;proposedWidth,
                                         int&nbsp;proposedHeight)</PRE>
<DL>
<DD>Return the offscreen buffer that should be used as a double buffer with the component <code>c</code>
 By default there is a double buffer per RepaintManager.
 The buffer might be smaller than <code>(proposedWidth,proposedHeight)</code>
 This happens when the maximum double buffer size as been set for the receiving
 repaint manager.</DL>
<HR>

<A NAME="setDoubleBufferMaximumSize(java.awt.Dimension)"><!-- --></A><H3>
setDoubleBufferMaximumSize</H3>
<PRE>
public void <B>setDoubleBufferMaximumSize</B>(java.awt.Dimension&nbsp;d)</PRE>
<DL>
<DD>Set the maximum double buffer size.</DL>
<HR>

<A NAME="getDoubleBufferMaximumSize()"><!-- --></A><H3>
getDoubleBufferMaximumSize</H3>
<PRE>
public java.awt.Dimension <B>getDoubleBufferMaximumSize</B>()</PRE>
<DL>
<DD>Returns the maximum double buffer size.<DD><DL>
<DT><B>Returns:</B><DD>a Dimension object representing the maximum size</DL>
</DD>
</DL>
<HR>

<A NAME="setDoubleBufferingEnabled(boolean)"><!-- --></A><H3>
setDoubleBufferingEnabled</H3>
<PRE>
public void <B>setDoubleBufferingEnabled</B>(boolean&nbsp;aFlag)</PRE>
<DL>
<DD>Enables or disables double buffering.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>aFlag</CODE> - true to activate double buffering</DL>
</DD>
</DL>
<HR>

<A NAME="isDoubleBufferingEnabled()"><!-- --></A><H3>
isDoubleBufferingEnabled</H3>
<PRE>
public boolean <B>isDoubleBufferingEnabled</B>()</PRE>
<DL>
<DD>Returns true if this object is double buffered.<DD><DL>
<DT><B>Returns:</B><DD>true if this object is double buffered</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/RepaintManager.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/ProgressMonitorInputStream.html"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../javax/swing/ScrollPaneLayout.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="RepaintManager.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>
