< prev index next >
src/java.desktop/share/classes/javax/swing/JLayeredPane.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2019, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
@@ -45,20 +45,16 @@
* components.
* For task-oriented documentation and examples of using layered panes see
* <a href="https://docs.oracle.com/javase/tutorial/uiswing/components/layeredpane.html">How to Use a Layered Pane</a>,
* a section in <em>The Java Tutorial</em>.
*
- * <table class="borderless" style="float:right">
- * <caption>Example</caption>
- * <TR>
- * <TD style="text-align:center">
- * <P STYLE="TEXT-ALIGN:CENTER"><IMG SRC="doc-files/JLayeredPane-1.gif"
+ * <div style="float:right;text-align:center;font-weight:bold">
+ * <p>Example:
+ * <p><img src="doc-files/JLayeredPane-1.gif"
* alt="The following text describes this image."
- * WIDTH="269" HEIGHT="264" STYLE="FLOAT:BOTTOM; BORDER=0">
- * </TD>
- * </TR>
- * </TABLE>
+ * width="269" height="264" style="float:bottom; border=0">
+ * </div>
* For convenience, <code>JLayeredPane</code> divides the depth-range
* into several different layers. Putting a component into one of those
* layers makes it easy to ensure that components overlap properly,
* without having to worry about specifying numbers for specific depths:
* <DL>
< prev index next >