Simple Example SwingUtilities : <p>I have a probably annoying request. Could someone demonstrate how to use one of these static Java swing utility methods? I am looking for a simple, extremely simple, example.</p>

<pre><code>public static void paintComponent(java.awt.Graphics, java.awt.Component, java.
    awt.Container, int, int, int, int);

  public static void paintComponent(java.awt.Graphics, java.awt.Component, java.
awt.Container, java.awt.Rectangle);
</code></pre>

<p>These static Java swing methods are found in the <code>javax.swing.SwingUtilities</code> package. </p>

<p>Thank-you for reading this and any help given.</p>
