src/share/classes/java/awt/Frame.java

Print this page
rev 10048 : 8044740: Convert all JDK versions used in @since tag to 1.n[.n] in jdk repo
Reviewed-by:


 113  * <code>WindowEvent</code>s:
 114  * <ul>
 115  * <li><code>WINDOW_OPENED</code>
 116  * <li><code>WINDOW_CLOSING</code>:
 117  *     <br>If the program doesn't
 118  *     explicitly hide or dispose the window while processing
 119  *     this event, the window close operation is canceled.
 120  * <li><code>WINDOW_CLOSED</code>
 121  * <li><code>WINDOW_ICONIFIED</code>
 122  * <li><code>WINDOW_DEICONIFIED</code>
 123  * <li><code>WINDOW_ACTIVATED</code>
 124  * <li><code>WINDOW_DEACTIVATED</code>
 125  * <li><code>WINDOW_GAINED_FOCUS</code>
 126  * <li><code>WINDOW_LOST_FOCUS</code>
 127  * <li><code>WINDOW_STATE_CHANGED</code>
 128  * </ul>
 129  *
 130  * @author      Sami Shaio
 131  * @see WindowEvent
 132  * @see Window#addWindowListener
 133  * @since       JDK1.0
 134  */
 135 public class Frame extends Window implements MenuContainer {
 136 
 137     /* Note: These are being obsoleted;  programs should use the Cursor class
 138      * variables going forward. See Cursor and Component.setCursor.
 139      */
 140 
 141    /**
 142     * @deprecated   replaced by <code>Cursor.DEFAULT_CURSOR</code>.
 143     */
 144     @Deprecated
 145     public static final int     DEFAULT_CURSOR                  = Cursor.DEFAULT_CURSOR;
 146 
 147 
 148    /**
 149     * @deprecated   replaced by <code>Cursor.CROSSHAIR_CURSOR</code>.
 150     */
 151     @Deprecated
 152     public static final int     CROSSHAIR_CURSOR                = Cursor.CROSSHAIR_CURSOR;
 153 




 113  * <code>WindowEvent</code>s:
 114  * <ul>
 115  * <li><code>WINDOW_OPENED</code>
 116  * <li><code>WINDOW_CLOSING</code>:
 117  *     <br>If the program doesn't
 118  *     explicitly hide or dispose the window while processing
 119  *     this event, the window close operation is canceled.
 120  * <li><code>WINDOW_CLOSED</code>
 121  * <li><code>WINDOW_ICONIFIED</code>
 122  * <li><code>WINDOW_DEICONIFIED</code>
 123  * <li><code>WINDOW_ACTIVATED</code>
 124  * <li><code>WINDOW_DEACTIVATED</code>
 125  * <li><code>WINDOW_GAINED_FOCUS</code>
 126  * <li><code>WINDOW_LOST_FOCUS</code>
 127  * <li><code>WINDOW_STATE_CHANGED</code>
 128  * </ul>
 129  *
 130  * @author      Sami Shaio
 131  * @see WindowEvent
 132  * @see Window#addWindowListener
 133  * @since       1.0
 134  */
 135 public class Frame extends Window implements MenuContainer {
 136 
 137     /* Note: These are being obsoleted;  programs should use the Cursor class
 138      * variables going forward. See Cursor and Component.setCursor.
 139      */
 140 
 141    /**
 142     * @deprecated   replaced by <code>Cursor.DEFAULT_CURSOR</code>.
 143     */
 144     @Deprecated
 145     public static final int     DEFAULT_CURSOR                  = Cursor.DEFAULT_CURSOR;
 146 
 147 
 148    /**
 149     * @deprecated   replaced by <code>Cursor.CROSSHAIR_CURSOR</code>.
 150     */
 151     @Deprecated
 152     public static final int     CROSSHAIR_CURSOR                = Cursor.CROSSHAIR_CURSOR;
 153