< prev index next >

src/java.desktop/share/classes/java/awt/Panel.java

Print this page

        

@@ -25,16 +25,16 @@
 package java.awt;
 
 import javax.accessibility.*;
 
 /**
- * <code>Panel</code> is the simplest container class. A panel
+ * {@code Panel} is the simplest container class. A panel
  * provides space in which an application can attach any other
  * component, including other panels.
  * <p>
  * The default layout manager for a panel is the
- * <code>FlowLayout</code> layout manager.
+ * {@code FlowLayout} layout manager.
  *
  * @author      Sami Shaio
  * @see     java.awt.FlowLayout
  * @since   1.0
  */

@@ -48,11 +48,11 @@
      private static final long serialVersionUID = -2728009084054400034L;
 
     /**
      * Creates a new panel using the default layout manager.
      * The default layout manager for all panels is the
-     * <code>FlowLayout</code> class.
+     * {@code FlowLayout} class.
      */
     public Panel() {
         this(new FlowLayout());
     }
 

@@ -109,11 +109,11 @@
         return accessibleContext;
     }
 
     /**
      * This class implements accessibility support for the
-     * <code>Panel</code> class.  It provides an implementation of the
+     * {@code Panel} class.  It provides an implementation of the
      * Java Accessibility API appropriate to panel user-interface elements.
      * @since 1.3
      */
     protected class AccessibleAWTPanel extends AccessibleAWTContainer {
 
< prev index next >