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

Print this page
rev 10121 : 8046485: Add missing @since tag under javax.swing.*
Reviewed-by:


  94  * future Swing releases. The current serialization support is
  95  * appropriate for short term storage or RMI between applications running
  96  * the same version of Swing.  As of 1.4, support for long term storage
  97  * of all JavaBeans™
  98  * has been added to the <code>java.beans</code> package.
  99  * Please see {@link java.beans.XMLEncoder}.
 100  *
 101  * @see JRootPane
 102  * @see #setDefaultCloseOperation
 103  * @see java.awt.event.WindowListener#windowClosing
 104  * @see javax.swing.RootPaneContainer
 105  *
 106  * @beaninfo
 107  *      attribute: isContainer true
 108  *      attribute: containerDelegate getContentPane
 109  *    description: A toplevel window which can be minimized to an icon.
 110  *
 111  * @author Jeff Dinkins
 112  * @author Georges Saab
 113  * @author David Kloba

 114  */
 115 @SuppressWarnings("serial") // Same-version serialization only
 116 public class JFrame  extends Frame implements WindowConstants,
 117                                               Accessible,
 118                                               RootPaneContainer,
 119                               TransferHandler.HasGetTransferHandler
 120 {
 121     /**
 122      * The exit application default window close operation. If a window
 123      * has this set as the close operation and is closed in an applet,
 124      * a <code>SecurityException</code> may be thrown.
 125      * It is recommended you only use this in an application.
 126      *
 127      * @since 1.3
 128      */
 129     public static final int EXIT_ON_CLOSE = 3;
 130 
 131     /**
 132      * Key into the AppContext, used to check if should provide decorations
 133      * by default.




  94  * future Swing releases. The current serialization support is
  95  * appropriate for short term storage or RMI between applications running
  96  * the same version of Swing.  As of 1.4, support for long term storage
  97  * of all JavaBeans&trade;
  98  * has been added to the <code>java.beans</code> package.
  99  * Please see {@link java.beans.XMLEncoder}.
 100  *
 101  * @see JRootPane
 102  * @see #setDefaultCloseOperation
 103  * @see java.awt.event.WindowListener#windowClosing
 104  * @see javax.swing.RootPaneContainer
 105  *
 106  * @beaninfo
 107  *      attribute: isContainer true
 108  *      attribute: containerDelegate getContentPane
 109  *    description: A toplevel window which can be minimized to an icon.
 110  *
 111  * @author Jeff Dinkins
 112  * @author Georges Saab
 113  * @author David Kloba
 114  * @since 1.2
 115  */
 116 @SuppressWarnings("serial") // Same-version serialization only
 117 public class JFrame  extends Frame implements WindowConstants,
 118                                               Accessible,
 119                                               RootPaneContainer,
 120                               TransferHandler.HasGetTransferHandler
 121 {
 122     /**
 123      * The exit application default window close operation. If a window
 124      * has this set as the close operation and is closed in an applet,
 125      * a <code>SecurityException</code> may be thrown.
 126      * It is recommended you only use this in an application.
 127      *
 128      * @since 1.3
 129      */
 130     public static final int EXIT_ON_CLOSE = 3;
 131 
 132     /**
 133      * Key into the AppContext, used to check if should provide decorations
 134      * by default.