< prev index next >

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

Print this page

        

*** 25,40 **** package java.awt; import javax.accessibility.*; /** ! * <code>Panel</code> 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. * * @author Sami Shaio * @see java.awt.FlowLayout * @since 1.0 */ --- 25,40 ---- package java.awt; import javax.accessibility.*; /** ! * {@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} layout manager. * * @author Sami Shaio * @see java.awt.FlowLayout * @since 1.0 */
*** 48,58 **** 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. */ public Panel() { this(new FlowLayout()); } --- 48,58 ---- 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} class. */ public Panel() { this(new FlowLayout()); }
*** 109,119 **** return accessibleContext; } /** * This class implements accessibility support for the ! * <code>Panel</code> class. It provides an implementation of the * Java Accessibility API appropriate to panel user-interface elements. * @since 1.3 */ protected class AccessibleAWTPanel extends AccessibleAWTContainer { --- 109,119 ---- return accessibleContext; } /** * This class implements accessibility support for 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 >