< prev index next >

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

Print this page




 354 
 355     /**
 356      * The opacity level of the window
 357      *
 358      * @serial
 359      * @see #setOpacity(float)
 360      * @see #getOpacity()
 361      * @since 1.7
 362      */
 363     private volatile float opacity = 1.0f;
 364 
 365     /**
 366      * The shape assigned to this window. This field is set to {@code null} if
 367      * no shape is set (rectangular window).
 368      *
 369      * @serial
 370      * @see #getShape()
 371      * @see #setShape(Shape)
 372      * @since 1.7
 373      */

 374     private Shape shape = null;
 375 
 376     private static final String base = "win";
 377     private static int nameCounter = 0;
 378 
 379     /*
 380      * JDK 1.1 serialVersionUID
 381      */
 382     private static final long serialVersionUID = 4497834738069338734L;
 383 
 384     private static final PlatformLogger log = PlatformLogger.getLogger("java.awt.Window");
 385 
 386     private static final boolean locationByPlatformProp;
 387 
 388     transient boolean isTrayIconWindow = false;
 389 
 390     /**
 391      * These fields are initialized in the native peer code
 392      * or via AWTAccessor's WindowAccessor.
 393      */




 354 
 355     /**
 356      * The opacity level of the window
 357      *
 358      * @serial
 359      * @see #setOpacity(float)
 360      * @see #getOpacity()
 361      * @since 1.7
 362      */
 363     private volatile float opacity = 1.0f;
 364 
 365     /**
 366      * The shape assigned to this window. This field is set to {@code null} if
 367      * no shape is set (rectangular window).
 368      *
 369      * @serial
 370      * @see #getShape()
 371      * @see #setShape(Shape)
 372      * @since 1.7
 373      */
 374     @SuppressWarnings("serial") // Not statically typed as Serializable
 375     private Shape shape = null;
 376 
 377     private static final String base = "win";
 378     private static int nameCounter = 0;
 379 
 380     /*
 381      * JDK 1.1 serialVersionUID
 382      */
 383     private static final long serialVersionUID = 4497834738069338734L;
 384 
 385     private static final PlatformLogger log = PlatformLogger.getLogger("java.awt.Window");
 386 
 387     private static final boolean locationByPlatformProp;
 388 
 389     transient boolean isTrayIconWindow = false;
 390 
 391     /**
 392      * These fields are initialized in the native peer code
 393      * or via AWTAccessor's WindowAccessor.
 394      */


< prev index next >