< prev index next >

src/java.desktop/share/classes/javax/swing/plaf/synth/SynthPainter.java

Print this page

        

@@ -25,38 +25,38 @@
 package javax.swing.plaf.synth;
 
 import java.awt.*;
 
 /**
- * <code>SynthPainter</code> is used for painting portions of
- * <code>JComponent</code>s. At a minimum each <code>JComponent</code>
+ * {@code SynthPainter} is used for painting portions of
+ * {@code JComponent}s. At a minimum each {@code JComponent}
  * has two paint methods: one for the border and one for the background. Some
- * <code>JComponent</code>s have more than one <code>Region</code>, and as
+ * {@code JComponent}s have more than one {@code Region}, and as
  * a consequence more paint methods.
  * <p>
- * Instances of <code>SynthPainter</code> are obtained from the
+ * Instances of {@code SynthPainter} are obtained from the
  * {@link javax.swing.plaf.synth.SynthStyle#getPainter} method.
  * <p>
- * You typically supply a <code>SynthPainter</code> by way of Synth's
+ * You typically supply a {@code SynthPainter} by way of Synth's
  * <a href="doc-files/synthFileFormat.html">file</a> format. The following
- * example registers a painter for all <code>JButton</code>s that will
- * render the image <code>myImage.png</code>:
+ * example registers a painter for all {@code JButton}s that will
+ * render the image {@code myImage.png}:
  * <pre>
  *  &lt;style id="buttonStyle"&gt;
  *    &lt;imagePainter path="myImage.png" sourceInsets="2 2 2 2"
  *                  paintCenter="true" stretch="true"/&gt;
  *    &lt;insets top="2" bottom="2" left="2" right="2"/&gt;
  *  &lt;/style&gt;
  *  &lt;bind style="buttonStyle" type="REGION" key="button"/&gt;
  *</pre>
  * <p>
- * <code>SynthPainter</code> is abstract in so far as it does no painting,
+ * {@code SynthPainter} is abstract in so far as it does no painting,
  * all the methods
  * are empty. While none of these methods are typed to throw an exception,
  * subclasses can assume that valid arguments are passed in, and if not
- * they can throw a <code>NullPointerException</code> or
- * <code>IllegalArgumentException</code> in response to invalid arguments.
+ * they can throw a {@code NullPointerException} or
+ * {@code IllegalArgumentException} in response to invalid arguments.
  *
  * @since 1.5
  * @author Scott Violet
  */
 public abstract class SynthPainter {

@@ -66,15 +66,15 @@
     static SynthPainter NULL_PAINTER = new SynthPainter() {};
 
 
     /**
      * Paints the background of an arrow button. Arrow buttons are created by
-     * some components, such as <code>JScrollBar</code>.
+     * some components, such as {@code JScrollBar}.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -83,15 +83,15 @@
                                            int w, int h) {
     }
 
     /**
      * Paints the border of an arrow button. Arrow buttons are created by
-     * some components, such as <code>JScrollBar</code>.
+     * some components, such as {@code JScrollBar}.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -102,15 +102,15 @@
 
     /**
      * Paints the foreground of an arrow button. This method is responsible
      * for drawing a graphical representation of a direction, typically
      * an arrow. Arrow buttons are created by
-     * some components, such as <code>JScrollBar</code>
+     * some components, such as {@code JScrollBar}
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      * @param direction One of SwingConstants.NORTH, SwingConstants.SOUTH

@@ -123,13 +123,13 @@
     }
 
     /**
      * Paints the background of a button.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -139,13 +139,13 @@
     }
 
     /**
      * Paints the border of a button.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -155,13 +155,13 @@
     }
 
     /**
      * Paints the background of a check box menu item.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -171,13 +171,13 @@
     }
 
     /**
      * Paints the border of a check box menu item.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -187,13 +187,13 @@
     }
 
     /**
      * Paints the background of a check box.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -203,13 +203,13 @@
     }
 
     /**
      * Paints the border of a check box.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -219,13 +219,13 @@
     }
 
     /**
      * Paints the background of a color chooser.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -235,13 +235,13 @@
     }
 
     /**
      * Paints the border of a color chooser.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -251,13 +251,13 @@
     }
 
     /**
      * Paints the background of a combo box.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -267,13 +267,13 @@
     }
 
     /**
      * Paints the border of a combo box.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -283,13 +283,13 @@
     }
 
     /**
      * Paints the background of a desktop icon.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -299,13 +299,13 @@
     }
 
     /**
      * Paints the border of a desktop icon.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -315,13 +315,13 @@
     }
 
     /**
      * Paints the background of a desktop pane.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -331,13 +331,13 @@
     }
 
     /**
      * Paints the background of a desktop pane.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -347,13 +347,13 @@
     }
 
     /**
      * Paints the background of an editor pane.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -363,13 +363,13 @@
     }
 
     /**
      * Paints the border of an editor pane.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -379,13 +379,13 @@
     }
 
     /**
      * Paints the background of a file chooser.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -395,13 +395,13 @@
     }
 
     /**
      * Paints the border of a file chooser.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -411,13 +411,13 @@
     }
 
     /**
      * Paints the background of a formatted text field.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -427,13 +427,13 @@
     }
 
     /**
      * Paints the border of a formatted text field.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -443,13 +443,13 @@
     }
 
     /**
      * Paints the background of an internal frame title pane.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -459,13 +459,13 @@
     }
 
     /**
      * Paints the border of an internal frame title pane.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -475,13 +475,13 @@
     }
 
     /**
      * Paints the background of an internal frame.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -491,13 +491,13 @@
     }
 
     /**
      * Paints the border of an internal frame.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -507,13 +507,13 @@
     }
 
     /**
      * Paints the background of a label.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -523,13 +523,13 @@
     }
 
     /**
      * Paints the border of a label.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -539,13 +539,13 @@
     }
 
     /**
      * Paints the background of a list.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -555,13 +555,13 @@
     }
 
     /**
      * Paints the border of a list.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -571,13 +571,13 @@
     }
 
     /**
      * Paints the background of a menu bar.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -587,13 +587,13 @@
     }
 
     /**
      * Paints the border of a menu bar.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -603,13 +603,13 @@
     }
 
     /**
      * Paints the background of a menu item.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -619,13 +619,13 @@
     }
 
     /**
      * Paints the border of a menu item.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -635,13 +635,13 @@
     }
 
     /**
      * Paints the background of a menu.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -651,13 +651,13 @@
     }
 
     /**
      * Paints the border of a menu.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -667,13 +667,13 @@
     }
 
     /**
      * Paints the background of an option pane.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -683,13 +683,13 @@
     }
 
     /**
      * Paints the border of an option pane.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -699,13 +699,13 @@
     }
 
     /**
      * Paints the background of a panel.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -715,13 +715,13 @@
     }
 
     /**
      * Paints the border of a panel.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -731,13 +731,13 @@
     }
 
     /**
      * Paints the background of a password field.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -747,13 +747,13 @@
     }
 
     /**
      * Paints the border of a password field.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -763,13 +763,13 @@
     }
 
     /**
      * Paints the background of a popup menu.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -779,13 +779,13 @@
     }
 
     /**
      * Paints the border of a popup menu.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -795,13 +795,13 @@
     }
 
     /**
      * Paints the background of a progress bar.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -812,19 +812,19 @@
 
     /**
      * Paints the background of a progress bar. This implementation invokes the
      * method of the same name without the orientation.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
-     * @param orientation one of <code>JProgressBar.HORIZONTAL</code> or
-     *                    <code>JProgressBar.VERTICAL</code>
+     * @param orientation one of {@code JProgressBar.HORIZONTAL} or
+     *                    {@code JProgressBar.VERTICAL}
      * @since 1.6
      */
     public void paintProgressBarBackground(SynthContext context,
                                      Graphics g, int x, int y,
                                      int w, int h, int orientation) {

@@ -832,13 +832,13 @@
     }
 
     /**
      * Paints the border of a progress bar.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -849,19 +849,19 @@
 
     /**
      * Paints the border of a progress bar. This implementation invokes the
      * method of the same name without the orientation.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
-     * @param orientation one of <code>JProgressBar.HORIZONTAL</code> or
-     *                    <code>JProgressBar.VERTICAL</code>
+     * @param orientation one of {@code JProgressBar.HORIZONTAL} or
+     *                    {@code JProgressBar.VERTICAL}
      * @since 1.6
      */
     public void paintProgressBarBorder(SynthContext context,
                                  Graphics g, int x, int y,
                                  int w, int h, int orientation) {

@@ -870,31 +870,31 @@
 
     /**
      * Paints the foreground of a progress bar. is responsible for
      * providing an indication of the progress of the progress bar.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
-     * @param orientation one of <code>JProgressBar.HORIZONTAL</code> or
-     *                    <code>JProgressBar.VERTICAL</code>
+     * @param orientation one of {@code JProgressBar.HORIZONTAL} or
+     *                    {@code JProgressBar.VERTICAL}
      */
     public void paintProgressBarForeground(SynthContext context,
                                  Graphics g, int x, int y,
                                  int w, int h, int orientation) {
     }
 
     /**
      * Paints the background of a radio button menu item.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -904,13 +904,13 @@
     }
 
     /**
      * Paints the border of a radio button menu item.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -920,13 +920,13 @@
     }
 
     /**
      * Paints the background of a radio button.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -936,13 +936,13 @@
     }
 
     /**
      * Paints the border of a radio button.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -952,13 +952,13 @@
     }
 
     /**
      * Paints the background of a root pane.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -968,13 +968,13 @@
     }
 
     /**
      * Paints the border of a root pane.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -984,13 +984,13 @@
     }
 
     /**
      * Paints the background of a scrollbar.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1001,20 +1001,20 @@
 
     /**
      * Paints the background of a scrollbar. This implementation invokes the
      * method of the same name without the orientation.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      * @param orientation Orientation of the JScrollBar, one of
-     *                    <code>JScrollBar.HORIZONTAL</code> or
-     *                    <code>JScrollBar.VERTICAL</code>
+     *                    {@code JScrollBar.HORIZONTAL} or
+     *                    {@code JScrollBar.VERTICAL}
      * @since 1.6
      */
     public void paintScrollBarBackground(SynthContext context,
                                      Graphics g, int x, int y,
                                      int w, int h, int orientation) {

@@ -1022,13 +1022,13 @@
     }
 
     /**
      * Paints the border of a scrollbar.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1039,20 +1039,20 @@
 
     /**
      * Paints the border of a scrollbar. This implementation invokes the
      * method of the same name without the orientation.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      * @param orientation Orientation of the JScrollBar, one of
-     *                    <code>JScrollBar.HORIZONTAL</code> or
-     *                    <code>JScrollBar.VERTICAL</code>
+     *                    {@code JScrollBar.HORIZONTAL} or
+     *                    {@code JScrollBar.VERTICAL}
      * @since 1.6
      */
     public void paintScrollBarBorder(SynthContext context,
                                  Graphics g, int x, int y,
                                  int w, int h, int orientation) {

@@ -1060,56 +1060,56 @@
     }
 
     /**
      * Paints the background of the thumb of a scrollbar. The thumb provides
      * a graphical indication as to how much of the Component is visible in a
-     * <code>JScrollPane</code>.
+     * {@code JScrollPane}.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      * @param orientation Orientation of the JScrollBar, one of
-     *                    <code>JScrollBar.HORIZONTAL</code> or
-     *                    <code>JScrollBar.VERTICAL</code>
+     *                    {@code JScrollBar.HORIZONTAL} or
+     *                    {@code JScrollBar.VERTICAL}
      */
     public void paintScrollBarThumbBackground(SynthContext context,
                                      Graphics g, int x, int y,
                                      int w, int h, int orientation) {
     }
 
     /**
      * Paints the border of the thumb of a scrollbar. The thumb provides
      * a graphical indication as to how much of the Component is visible in a
-     * <code>JScrollPane</code>.
+     * {@code JScrollPane}.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      * @param orientation Orientation of the JScrollBar, one of
-     *                    <code>JScrollBar.HORIZONTAL</code> or
-     *                    <code>JScrollBar.VERTICAL</code>
+     *                    {@code JScrollBar.HORIZONTAL} or
+     *                    {@code JScrollBar.VERTICAL}
      */
     public void paintScrollBarThumbBorder(SynthContext context,
                                  Graphics g, int x, int y,
                                  int w, int h, int orientation) {
     }
 
     /**
      * Paints the background of the track of a scrollbar. The track contains
      * the thumb.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1121,20 +1121,20 @@
     /**
      * Paints the background of the track of a scrollbar. The track contains
      * the thumb. This implementation invokes the method of the same name without
      * the orientation.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      * @param orientation Orientation of the JScrollBar, one of
-     *                    <code>JScrollBar.HORIZONTAL</code> or
-     *                    <code>JScrollBar.VERTICAL</code>
+     *                    {@code JScrollBar.HORIZONTAL} or
+     *                    {@code JScrollBar.VERTICAL}
      * @since 1.6
      */
     public void paintScrollBarTrackBackground(SynthContext context,
                                      Graphics g, int x, int y,
                                      int w, int h, int orientation) {

@@ -1143,13 +1143,13 @@
 
     /**
      * Paints the border of the track of a scrollbar. The track contains
      * the thumb.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1161,20 +1161,20 @@
     /**
      * Paints the border of the track of a scrollbar. The track contains
      * the thumb. This implementation invokes the method of the same name without
      * the orientation.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      * @param orientation Orientation of the JScrollBar, one of
-     *                    <code>JScrollBar.HORIZONTAL</code> or
-     *                    <code>JScrollBar.VERTICAL</code>
+     *                    {@code JScrollBar.HORIZONTAL} or
+     *                    {@code JScrollBar.VERTICAL}
      * @since 1.6
      */
     public void paintScrollBarTrackBorder(SynthContext context,
                                  Graphics g, int x, int y,
                                  int w, int h, int orientation) {

@@ -1182,13 +1182,13 @@
     }
 
     /**
      * Paints the background of a scroll pane.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1198,13 +1198,13 @@
     }
 
     /**
      * Paints the border of a scroll pane.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1214,13 +1214,13 @@
     }
 
     /**
      * Paints the background of a separator.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1231,19 +1231,19 @@
 
     /**
      * Paints the background of a separator. This implementation invokes the
      * method of the same name without the orientation.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
-     * @param orientation One of <code>JSeparator.HORIZONTAL</code> or
-     *                           <code>JSeparator.VERTICAL</code>
+     * @param orientation One of {@code JSeparator.HORIZONTAL} or
+     *                           {@code JSeparator.VERTICAL}
      * @since 1.6
      */
     public void paintSeparatorBackground(SynthContext context,
                                      Graphics g, int x, int y,
                                      int w, int h, int orientation) {

@@ -1251,13 +1251,13 @@
     }
 
     /**
      * Paints the border of a separator.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1268,19 +1268,19 @@
 
     /**
      * Paints the border of a separator. This implementation invokes the
      * method of the same name without the orientation.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
-     * @param orientation One of <code>JSeparator.HORIZONTAL</code> or
-     *                           <code>JSeparator.VERTICAL</code>
+     * @param orientation One of {@code JSeparator.HORIZONTAL} or
+     *                           {@code JSeparator.VERTICAL}
      * @since 1.6
      */
     public void paintSeparatorBorder(SynthContext context,
                                  Graphics g, int x, int y,
                                  int w, int h, int orientation) {

@@ -1288,31 +1288,31 @@
     }
 
     /**
      * Paints the foreground of a separator.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
-     * @param orientation One of <code>JSeparator.HORIZONTAL</code> or
-     *                           <code>JSeparator.VERTICAL</code>
+     * @param orientation One of {@code JSeparator.HORIZONTAL} or
+     *                           {@code JSeparator.VERTICAL}
      */
     public void paintSeparatorForeground(SynthContext context,
                                  Graphics g, int x, int y,
                                  int w, int h, int orientation) {
     }
 
     /**
      * Paints the background of a slider.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1323,19 +1323,19 @@
 
     /**
      * Paints the background of a slider. This implementation invokes the
      * method of the same name without the orientation.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
-     * @param orientation One of <code>JSlider.HORIZONTAL</code> or
-     *                           <code>JSlider.VERTICAL</code>
+     * @param orientation One of {@code JSlider.HORIZONTAL} or
+     *                           {@code JSlider.VERTICAL}
      * @since 1.6
      */
     public void paintSliderBackground(SynthContext context,
                                      Graphics g, int x, int y,
                                      int w, int h, int orientation) {

@@ -1343,13 +1343,13 @@
     }
 
     /**
      * Paints the border of a slider.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1360,19 +1360,19 @@
 
     /**
      * Paints the border of a slider. This implementation invokes the
      * method of the same name without the orientation.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
-     * @param orientation One of <code>JSlider.HORIZONTAL</code> or
-     *                           <code>JSlider.VERTICAL</code>
+     * @param orientation One of {@code JSlider.HORIZONTAL} or
+     *                           {@code JSlider.VERTICAL}
      * @since 1.6
      */
     public void paintSliderBorder(SynthContext context,
                                  Graphics g, int x, int y,
                                  int w, int h, int orientation) {

@@ -1380,49 +1380,49 @@
     }
 
     /**
      * Paints the background of the thumb of a slider.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
-     * @param orientation One of <code>JSlider.HORIZONTAL</code> or
-     *                           <code>JSlider.VERTICAL</code>
+     * @param orientation One of {@code JSlider.HORIZONTAL} or
+     *                           {@code JSlider.VERTICAL}
      */
     public void paintSliderThumbBackground(SynthContext context,
                                      Graphics g, int x, int y,
                                      int w, int h, int orientation) {
     }
 
     /**
      * Paints the border of the thumb of a slider.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
-     * @param orientation One of <code>JSlider.HORIZONTAL</code> or
-     *                           <code>JSlider.VERTICAL</code>
+     * @param orientation One of {@code JSlider.HORIZONTAL} or
+     *                           {@code JSlider.VERTICAL}
      */
     public void paintSliderThumbBorder(SynthContext context,
                                  Graphics g, int x, int y,
                                  int w, int h, int orientation) {
     }
 
     /**
      * Paints the background of the track of a slider.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1433,19 +1433,19 @@
 
     /**
      * Paints the background of the track of a slider. This implementation invokes
      * the method of the same name without the orientation.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
-     * @param orientation One of <code>JSlider.HORIZONTAL</code> or
-     *                           <code>JSlider.VERTICAL</code>
+     * @param orientation One of {@code JSlider.HORIZONTAL} or
+     *                           {@code JSlider.VERTICAL}
      * @since 1.6
      */
     public void paintSliderTrackBackground(SynthContext context,
                                      Graphics g, int x, int y,
                                      int w, int h, int orientation) {

@@ -1453,13 +1453,13 @@
     }
 
     /**
      * Paints the border of the track of a slider.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1470,19 +1470,19 @@
 
     /**
      * Paints the border of the track of a slider. This implementation invokes the
      * method of the same name without the orientation.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
-     * @param orientation One of <code>JSlider.HORIZONTAL</code> or
-     *                           <code>JSlider.VERTICAL</code>
+     * @param orientation One of {@code JSlider.HORIZONTAL} or
+     *                           {@code JSlider.VERTICAL}
      * @since 1.6
      */
     public void paintSliderTrackBorder(SynthContext context,
                                  Graphics g, int x, int y,
                                  int w, int h, int orientation) {

@@ -1490,13 +1490,13 @@
     }
 
     /**
      * Paints the background of a spinner.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1506,13 +1506,13 @@
     }
 
     /**
      * Paints the border of a spinner.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1522,13 +1522,13 @@
     }
 
     /**
      * Paints the background of the divider of a split pane.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1539,19 +1539,19 @@
 
     /**
      * Paints the background of the divider of a split pane. This implementation
      * invokes the method of the same name without the orientation.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
-     * @param orientation One of <code>JSplitPane.HORIZONTAL_SPLIT</code> or
-     *                           <code>JSplitPane.VERTICAL_SPLIT</code>
+     * @param orientation One of {@code JSplitPane.HORIZONTAL_SPLIT} or
+     *                           {@code JSplitPane.VERTICAL_SPLIT}
      * @since 1.6
      */
     public void paintSplitPaneDividerBackground(SynthContext context,
                                      Graphics g, int x, int y,
                                      int w, int h, int orientation) {

@@ -1559,50 +1559,50 @@
     }
 
     /**
      * Paints the foreground of the divider of a split pane.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
-     * @param orientation One of <code>JSplitPane.HORIZONTAL_SPLIT</code> or
-     *                           <code>JSplitPane.VERTICAL_SPLIT</code>
+     * @param orientation One of {@code JSplitPane.HORIZONTAL_SPLIT} or
+     *                           {@code JSplitPane.VERTICAL_SPLIT}
      */
     public void paintSplitPaneDividerForeground(SynthContext context,
                                      Graphics g, int x, int y,
                                      int w, int h, int orientation) {
     }
 
     /**
      * Paints the divider, when the user is dragging the divider, of a
      * split pane.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
-     * @param orientation One of <code>JSplitPane.HORIZONTAL_SPLIT</code> or
-     *                           <code>JSplitPane.VERTICAL_SPLIT</code>
+     * @param orientation One of {@code JSplitPane.HORIZONTAL_SPLIT} or
+     *                           {@code JSplitPane.VERTICAL_SPLIT}
      */
     public void paintSplitPaneDragDivider(SynthContext context,
                                      Graphics g, int x, int y,
                                      int w, int h, int orientation) {
     }
 
     /**
      * Paints the background of a split pane.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1612,13 +1612,13 @@
     }
 
     /**
      * Paints the border of a split pane.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1628,13 +1628,13 @@
     }
 
     /**
      * Paints the background of a tabbed pane.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1644,13 +1644,13 @@
     }
 
     /**
      * Paints the border of a tabbed pane.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1660,13 +1660,13 @@
     }
 
     /**
      * Paints the background of the area behind the tabs of a tabbed pane.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1678,21 +1678,21 @@
     /**
      * Paints the background of the area behind the tabs of a tabbed pane.
      * This implementation invokes the method of the same name without the
      * orientation.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
-     * @param orientation One of <code>JTabbedPane.TOP</code>,
-     *                    <code>JTabbedPane.LEFT</code>,
-     *                    <code>JTabbedPane.BOTTOM</code>, or
-     *                    <code>JTabbedPane.RIGHT</code>
+     * @param orientation One of {@code JTabbedPane.TOP},
+     *                    {@code JTabbedPane.LEFT},
+     *                    {@code JTabbedPane.BOTTOM}, or
+     *                    {@code JTabbedPane.RIGHT}
      * @since 1.6
      */
     public void paintTabbedPaneTabAreaBackground(SynthContext context,
                                      Graphics g, int x, int y,
                                      int w, int h, int orientation) {

@@ -1700,13 +1700,13 @@
     }
 
     /**
      * Paints the border of the area behind the tabs of a tabbed pane.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1717,21 +1717,21 @@
 
     /**
      * Paints the border of the area behind the tabs of a tabbed pane. This
      * implementation invokes the method of the same name without the orientation.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
-     * @param orientation One of <code>JTabbedPane.TOP</code>,
-     *                    <code>JTabbedPane.LEFT</code>,
-     *                    <code>JTabbedPane.BOTTOM</code>, or
-     *                    <code>JTabbedPane.RIGHT</code>
+     * @param orientation One of {@code JTabbedPane.TOP},
+     *                    {@code JTabbedPane.LEFT},
+     *                    {@code JTabbedPane.BOTTOM}, or
+     *                    {@code JTabbedPane.RIGHT}
      * @since 1.6
      */
     public void paintTabbedPaneTabAreaBorder(SynthContext context,
                                  Graphics g, int x, int y,
                                  int w, int h, int orientation) {

@@ -1739,13 +1739,13 @@
     }
 
     /**
      * Paints the background of a tab of a tabbed pane.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      * @param tabIndex Index of tab being painted.

@@ -1757,22 +1757,22 @@
 
     /**
      * Paints the background of a tab of a tabbed pane. This implementation
      * invokes the method of the same name without the orientation.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      * @param tabIndex Index of tab being painted.
-     * @param orientation One of <code>JTabbedPane.TOP</code>,
-     *                    <code>JTabbedPane.LEFT</code>,
-     *                    <code>JTabbedPane.BOTTOM</code>, or
-     *                    <code>JTabbedPane.RIGHT</code>
+     * @param orientation One of {@code JTabbedPane.TOP},
+     *                    {@code JTabbedPane.LEFT},
+     *                    {@code JTabbedPane.BOTTOM}, or
+     *                    {@code JTabbedPane.RIGHT}
      * @since 1.6
      */
     public void paintTabbedPaneTabBackground(SynthContext context, Graphics g,
                                          int x, int y, int w, int h,
                                          int tabIndex, int orientation) {

@@ -1780,13 +1780,13 @@
     }
 
     /**
      * Paints the border of a tab of a tabbed pane.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      * @param tabIndex Index of tab being painted.

@@ -1798,22 +1798,22 @@
 
     /**
      * Paints the border of a tab of a tabbed pane. This implementation invokes
      * the method of the same name without the orientation.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      * @param tabIndex Index of tab being painted.
-     * @param orientation One of <code>JTabbedPane.TOP</code>,
-     *                    <code>JTabbedPane.LEFT</code>,
-     *                    <code>JTabbedPane.BOTTOM</code>, or
-     *                    <code>JTabbedPane.RIGHT</code>
+     * @param orientation One of {@code JTabbedPane.TOP},
+     *                    {@code JTabbedPane.LEFT},
+     *                    {@code JTabbedPane.BOTTOM}, or
+     *                    {@code JTabbedPane.RIGHT}
      * @since 1.6
      */
     public void paintTabbedPaneTabBorder(SynthContext context, Graphics g,
                                          int x, int y, int w, int h,
                                          int tabIndex, int orientation) {

@@ -1822,13 +1822,13 @@
 
     /**
      * Paints the background of the area that contains the content of the
      * selected tab of a tabbed pane.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1839,13 +1839,13 @@
 
     /**
      * Paints the border of the area that contains the content of the
      * selected tab of a tabbed pane.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1854,13 +1854,13 @@
     }
 
     /**
      * Paints the background of the header of a table.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1870,13 +1870,13 @@
     }
 
     /**
      * Paints the border of the header of a table.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1886,13 +1886,13 @@
     }
 
     /**
      * Paints the background of a table.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1902,13 +1902,13 @@
     }
 
     /**
      * Paints the border of a table.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1918,13 +1918,13 @@
     }
 
     /**
      * Paints the background of a text area.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1934,13 +1934,13 @@
     }
 
     /**
      * Paints the border of a text area.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1950,13 +1950,13 @@
     }
 
     /**
      * Paints the background of a text pane.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1966,13 +1966,13 @@
     }
 
     /**
      * Paints the border of a text pane.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1982,13 +1982,13 @@
     }
 
     /**
      * Paints the background of a text field.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -1998,13 +1998,13 @@
     }
 
     /**
      * Paints the border of a text field.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -2014,13 +2014,13 @@
     }
 
     /**
      * Paints the background of a toggle button.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -2030,13 +2030,13 @@
     }
 
     /**
      * Paints the border of a toggle button.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -2046,13 +2046,13 @@
     }
 
     /**
      * Paints the background of a tool bar.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -2063,19 +2063,19 @@
 
     /**
      * Paints the background of a tool bar. This implementation invokes the
      * method of the same name without the orientation.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
-     * @param orientation One of <code>JToolBar.HORIZONTAL</code> or
-     *                           <code>JToolBar.VERTICAL</code>
+     * @param orientation One of {@code JToolBar.HORIZONTAL} or
+     *                           {@code JToolBar.VERTICAL}
      * @since 1.6
      */
     public void paintToolBarBackground(SynthContext context,
                                      Graphics g, int x, int y,
                                      int w, int h, int orientation) {

@@ -2083,13 +2083,13 @@
     }
 
     /**
      * Paints the border of a tool bar.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -2100,19 +2100,19 @@
 
     /**
      * Paints the border of a tool bar. This implementation invokes the
      * method of the same name without the orientation.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
-     * @param orientation One of <code>JToolBar.HORIZONTAL</code> or
-     *                           <code>JToolBar.VERTICAL</code>
+     * @param orientation One of {@code JToolBar.HORIZONTAL} or
+     *                           {@code JToolBar.VERTICAL}
      * @since 1.6
      */
     public void paintToolBarBorder(SynthContext context,
                                  Graphics g, int x, int y,
                                  int w, int h, int orientation) {

@@ -2120,13 +2120,13 @@
     }
 
     /**
      * Paints the background of the tool bar's content area.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -2137,19 +2137,19 @@
 
     /**
      * Paints the background of the tool bar's content area. This implementation
      * invokes the method of the same name without the orientation.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
-     * @param orientation One of <code>JToolBar.HORIZONTAL</code> or
-     *                           <code>JToolBar.VERTICAL</code>
+     * @param orientation One of {@code JToolBar.HORIZONTAL} or
+     *                           {@code JToolBar.VERTICAL}
      * @since 1.6
      */
     public void paintToolBarContentBackground(SynthContext context,
                                      Graphics g, int x, int y,
                                      int w, int h, int orientation) {

@@ -2157,13 +2157,13 @@
     }
 
     /**
      * Paints the border of the content area of a tool bar.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -2174,19 +2174,19 @@
 
     /**
      * Paints the border of the content area of a tool bar. This implementation
      * invokes the method of the same name without the orientation.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
-     * @param orientation One of <code>JToolBar.HORIZONTAL</code> or
-     *                           <code>JToolBar.VERTICAL</code>
+     * @param orientation One of {@code JToolBar.HORIZONTAL} or
+     *                           {@code JToolBar.VERTICAL}
      * @since 1.6
      */
     public void paintToolBarContentBorder(SynthContext context,
                                  Graphics g, int x, int y,
                                  int w, int h, int orientation) {

@@ -2195,13 +2195,13 @@
 
     /**
      * Paints the background of the window containing the tool bar when it
      * has been detached from its primary frame.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -2213,19 +2213,19 @@
     /**
      * Paints the background of the window containing the tool bar when it
      * has been detached from its primary frame. This implementation invokes the
      * method of the same name without the orientation.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
-     * @param orientation One of <code>JToolBar.HORIZONTAL</code> or
-     *                           <code>JToolBar.VERTICAL</code>
+     * @param orientation One of {@code JToolBar.HORIZONTAL} or
+     *                           {@code JToolBar.VERTICAL}
      * @since 1.6
      */
     public void paintToolBarDragWindowBackground(SynthContext context,
                                      Graphics g, int x, int y,
                                      int w, int h, int orientation) {

@@ -2234,13 +2234,13 @@
 
     /**
      * Paints the border of the window containing the tool bar when it
      * has been detached from it's primary frame.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -2252,19 +2252,19 @@
     /**
      * Paints the border of the window containing the tool bar when it
      * has been detached from it's primary frame. This implementation invokes the
      * method of the same name without the orientation.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
-     * @param orientation One of <code>JToolBar.HORIZONTAL</code> or
-     *                           <code>JToolBar.VERTICAL</code>
+     * @param orientation One of {@code JToolBar.HORIZONTAL} or
+     *                           {@code JToolBar.VERTICAL}
      * @since 1.6
      */
     public void paintToolBarDragWindowBorder(SynthContext context,
                                  Graphics g, int x, int y,
                                  int w, int h, int orientation) {

@@ -2272,13 +2272,13 @@
     }
 
     /**
      * Paints the background of a tool tip.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -2288,13 +2288,13 @@
     }
 
     /**
      * Paints the border of a tool tip.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -2304,13 +2304,13 @@
     }
 
     /**
      * Paints the background of a tree.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -2320,13 +2320,13 @@
     }
 
     /**
      * Paints the border of a tree.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -2336,13 +2336,13 @@
     }
 
     /**
      * Paints the background of the row containing a cell in a tree.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -2352,13 +2352,13 @@
     }
 
     /**
      * Paints the border of the row containing a cell in a tree.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -2368,13 +2368,13 @@
     }
 
     /**
      * Paints the focus indicator for a cell in a tree when it has focus.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -2384,13 +2384,13 @@
     }
 
     /**
      * Paints the background of the viewport.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */

@@ -2400,13 +2400,13 @@
     }
 
     /**
      * Paints the border of a viewport.
      *
-     * @param context SynthContext identifying the <code>JComponent</code> and
-     *        <code>Region</code> to paint to
-     * @param g <code>Graphics</code> to paint to
+     * @param context SynthContext identifying the {@code JComponent} and
+     *        {@code Region} to paint to
+     * @param g {@code Graphics} to paint to
      * @param x X coordinate of the area to paint to
      * @param y Y coordinate of the area to paint to
      * @param w Width of the area to paint to
      * @param h Height of the area to paint to
      */
< prev index next >