src/share/classes/javax/swing/JPanel.java

Print this page




  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 package javax.swing;
  26 
  27 import java.awt.*;
  28 
  29 import javax.swing.plaf.*;
  30 import javax.accessibility.*;
  31 
  32 import java.io.Serializable;
  33 import java.io.ObjectOutputStream;
  34 import java.io.ObjectInputStream;
  35 import java.io.IOException;
  36 
  37 
  38 /**
  39  * <code>JPanel</code> is a generic lightweight container.
  40  * For examples and task-oriented documentation for JPanel, see
  41  * <a
  42  href="http://java.sun.com/docs/books/tutorial/uiswing/components/panel.html">How to Use Panels</a>,
  43  * a section in <em>The Java Tutorial</em>.
  44  * <p>
  45  * <strong>Warning:</strong> Swing is not thread safe. For more
  46  * information see <a
  47  * href="package-summary.html#threading">Swing's Threading
  48  * Policy</a>.
  49  * <p>
  50  * <strong>Warning:</strong>
  51  * Serialized objects of this class will not be compatible with
  52  * future Swing releases. The current serialization support is
  53  * appropriate for short term storage or RMI between applications running
  54  * the same version of Swing.  As of 1.4, support for long term storage
  55  * of all JavaBeans<sup><font size="-2">TM</font></sup>
  56  * has been added to the <code>java.beans</code> package.
  57  * Please see {@link java.beans.XMLEncoder}.
  58  *
  59  * @beaninfo
  60  * description: A generic lightweight container.
  61  *
  62  * @author Arnaud Weber




  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 package javax.swing;
  26 
  27 import java.awt.*;
  28 
  29 import javax.swing.plaf.*;
  30 import javax.accessibility.*;
  31 
  32 import java.io.Serializable;
  33 import java.io.ObjectOutputStream;
  34 import java.io.ObjectInputStream;
  35 import java.io.IOException;
  36 
  37 
  38 /**
  39  * <code>JPanel</code> is a generic lightweight container.
  40  * For examples and task-oriented documentation for JPanel, see
  41  * <a
  42  href="http://docs.oracle.com/javase/tutorial/uiswing/components/panel.html">How to Use Panels</a>,
  43  * a section in <em>The Java Tutorial</em>.
  44  * <p>
  45  * <strong>Warning:</strong> Swing is not thread safe. For more
  46  * information see <a
  47  * href="package-summary.html#threading">Swing's Threading
  48  * Policy</a>.
  49  * <p>
  50  * <strong>Warning:</strong>
  51  * Serialized objects of this class will not be compatible with
  52  * future Swing releases. The current serialization support is
  53  * appropriate for short term storage or RMI between applications running
  54  * the same version of Swing.  As of 1.4, support for long term storage
  55  * of all JavaBeans<sup><font size="-2">TM</font></sup>
  56  * has been added to the <code>java.beans</code> package.
  57  * Please see {@link java.beans.XMLEncoder}.
  58  *
  59  * @beaninfo
  60  * description: A generic lightweight container.
  61  *
  62  * @author Arnaud Weber