Hello.

While doing a docs build, I ran across a mismatch between the names of two methods parameters in the javadoc and the code of LayerUI.java; the patch is below.

Please review the change; if you approve it, I'll create a bug and push the fix through TL.

Cheers,

-Joe

--- a/src/share/classes/javax/swing/plaf/LayerUI.java
+++ b/src/share/classes/javax/swing/plaf/LayerUI.java
@@ -710,8 +710,8 @@
     *
     * @param x  the x value of the region to be painted
     * @param y  the y value of the region to be painted
-     * @param w  the width of the region to be painted
-     * @param h  the height of the region to be painted
+     * @param width  the width of the region to be painted
+     * @param heigth  the height of the region to be painted
     *
     * @see JComponent#paintImmediately(int, int, int, int)
     */

Reply via email to