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

Print this page




 331      * @see #setUndecorated(boolean)
 332      * @see #isUndecorated()
 333      * @see Component#isDisplayable()
 334      * @since 1.4
 335      */
 336     boolean undecorated = false;
 337 
 338     /**
 339      * <code>mbManagement</code> is only used by the Motif implementation.
 340      *
 341      * @serial
 342      */
 343     boolean     mbManagement = false;   /* used only by the Motif impl. */
 344 
 345     // XXX: uwe: abuse old field for now
 346     // will need to take care of serialization
 347     private int state = NORMAL;
 348 
 349     /*
 350      * The Windows owned by the Frame.
 351      * Note: in 1.2 this has been superceded by Window.ownedWindowList
 352      *
 353      * @serial
 354      * @see java.awt.Window#ownedWindowList
 355      */
 356     Vector<Window> ownedWindows;
 357 
 358     private static final String base = "frame";
 359     private static int nameCounter = 0;
 360 
 361     /*
 362      * JDK 1.1 serialVersionUID
 363      */
 364      private static final long serialVersionUID = 2673458971256075116L;
 365 
 366     static {
 367         /* ensure that the necessary native libraries are loaded */
 368         Toolkit.loadLibraries();
 369         if (!GraphicsEnvironment.isHeadless()) {
 370             initIDs();
 371         }




 331      * @see #setUndecorated(boolean)
 332      * @see #isUndecorated()
 333      * @see Component#isDisplayable()
 334      * @since 1.4
 335      */
 336     boolean undecorated = false;
 337 
 338     /**
 339      * <code>mbManagement</code> is only used by the Motif implementation.
 340      *
 341      * @serial
 342      */
 343     boolean     mbManagement = false;   /* used only by the Motif impl. */
 344 
 345     // XXX: uwe: abuse old field for now
 346     // will need to take care of serialization
 347     private int state = NORMAL;
 348 
 349     /*
 350      * The Windows owned by the Frame.
 351      * Note: in 1.2 this has been superseded by Window.ownedWindowList
 352      *
 353      * @serial
 354      * @see java.awt.Window#ownedWindowList
 355      */
 356     Vector<Window> ownedWindows;
 357 
 358     private static final String base = "frame";
 359     private static int nameCounter = 0;
 360 
 361     /*
 362      * JDK 1.1 serialVersionUID
 363      */
 364      private static final long serialVersionUID = 2673458971256075116L;
 365 
 366     static {
 367         /* ensure that the necessary native libraries are loaded */
 368         Toolkit.loadLibraries();
 369         if (!GraphicsEnvironment.isHeadless()) {
 370             initIDs();
 371         }