8249838: javax.swing.JLayeredPane has used valueOf twice in example code in documentation

Reviewed-by: jdv, pbansal
This commit is contained in:
Prasanta Sadhukhan 2020-08-07 09:23:54 +05:30
parent 2c00d740d4
commit 0615eac2e6

View File

@ -95,7 +95,7 @@ import javax.accessibility.*;
* <PRE>
* layeredPane.add(child, JLayeredPane.DEFAULT_LAYER);
* or
* layeredPane.add(child, Integer.valueOf.valueOf(10));
* layeredPane.add(child, Integer.valueOf(10));
* </PRE>
* The layer attribute can also be set on a Component by calling<PRE>
* layeredPaneParent.setLayer(child, 10)</PRE>