mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-12 14:39:49 +00:00
8249838: javax.swing.JLayeredPane has used valueOf twice in example code in documentation
Reviewed-by: jdv, pbansal
This commit is contained in:
parent
2c00d740d4
commit
0615eac2e6
@ -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>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user