classpath-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cp-patches] FYI: API doc fixes in javax.swing.plaf.metal.*


From: David Gilbert
Subject: [cp-patches] FYI: API doc fixes in javax.swing.plaf.metal.*
Date: Fri, 22 Jul 2005 09:33:15 +0000
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050426)

I committed this patch:

2005-07-22  David Gilbert  <address@hidden>

        * javax/swing/plaf/metal/MetalCheckBoxIcon.java: API doc fixes,
        * javax/swing/plaf/metal/MetalIconFactory.java: likewise.

Regards,

Dave Gilbert

Index: javax/swing/plaf/metal/MetalCheckBoxIcon.java
===================================================================
RCS file: 
/cvsroot/classpath/classpath/javax/swing/plaf/metal/MetalCheckBoxIcon.java,v
retrieving revision 1.2
diff -u -r1.2 MetalCheckBoxIcon.java
--- javax/swing/plaf/metal/MetalCheckBoxIcon.java       21 Jul 2005 12:07:06 
-0000      1.2
+++ javax/swing/plaf/metal/MetalCheckBoxIcon.java       22 Jul 2005 08:24:16 
-0000
@@ -124,7 +124,7 @@
    * @param c the Component to draw on (gets casted to JCheckBox)
    * @param g the Graphics context to draw with
    * @param x the X position
-   * @param x the Y position
+   * @param y the Y position
    */
   public void paintIcon(Component c, Graphics g, int x, int y)
   {
Index: javax/swing/plaf/metal/MetalIconFactory.java
===================================================================
RCS file: 
/cvsroot/classpath/classpath/javax/swing/plaf/metal/MetalIconFactory.java,v
retrieving revision 1.3
diff -u -r1.3 MetalIconFactory.java
--- javax/swing/plaf/metal/MetalIconFactory.java        21 Jul 2005 12:07:06 
-0000      1.3
+++ javax/swing/plaf/metal/MetalIconFactory.java        22 Jul 2005 08:24:17 
-0000
@@ -224,8 +224,6 @@
      *
      * @param c the component to draw on
      * @param g the Graphics context to draw with
-     * @param x the X position
-     * @param y the Y position
      */
     protected void drawCheck(Component c, Graphics g)
     {
@@ -263,7 +261,7 @@
      * @param c the Component to draw on (gets casted to JCheckBox)
      * @param g the Graphics context to draw with
      * @param x the X position
-     * @param x the Y position
+     * @param y the Y position
      */
     public void paintIcon(Component c, Graphics g, int x, int y)
     {

reply via email to

[Prev in Thread] Current Thread [Next in Thread]