< prev index next >

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

Print this page

        

*** 310,320 **** * @since 1.3 * @serial * @see GraphicsConfiguration * @see #getGraphicsConfiguration */ ! private transient GraphicsConfiguration graphicsConfig = null; /** * A reference to a <code>BufferStrategy</code> object * used to manipulate the buffers on this component. * --- 310,320 ---- * @since 1.3 * @serial * @see GraphicsConfiguration * @see #getGraphicsConfiguration */ ! private transient volatile GraphicsConfiguration graphicsConfig; /** * A reference to a <code>BufferStrategy</code> object * used to manipulate the buffers on this component. *
*** 1141,1154 **** * @return the <code>GraphicsConfiguration</code> used by this * <code>Component</code> or <code>null</code> * @since 1.3 */ public GraphicsConfiguration getGraphicsConfiguration() { - synchronized(getTreeLock()) { return getGraphicsConfiguration_NoClientCode(); } - } final GraphicsConfiguration getGraphicsConfiguration_NoClientCode() { return graphicsConfig; } --- 1141,1152 ----
< prev index next >