< prev index next >
src/java.desktop/unix/classes/sun/awt/X11/XBaseWindow.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2003, 2014, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 111,121 ****
protected final void preInit() {}
protected final void postInit() {}
// internal lock for synchronizing state changes and paint calls, initialized in preInit.
// the order with other locks: AWTLock -> stateLock
! static class StateLock extends Object { }
protected StateLock state_lock;
/**
* Called for delayed inits during construction
*/
--- 111,121 ----
protected final void preInit() {}
protected final void postInit() {}
// internal lock for synchronizing state changes and paint calls, initialized in preInit.
// the order with other locks: AWTLock -> stateLock
! static class StateLock { }
protected StateLock state_lock;
/**
* Called for delayed inits during construction
*/
*** 313,323 ****
/**
* Creates window with parameters specified by {@code params}
* @see #init
*/
! private final void create(XCreateWindowParams params) {
XToolkit.awtLock();
try {
XSetWindowAttributes xattr = new XSetWindowAttributes();
try {
checkParams(params);
--- 313,323 ----
/**
* Creates window with parameters specified by {@code params}
* @see #init
*/
! private void create(XCreateWindowParams params) {
XToolkit.awtLock();
try {
XSetWindowAttributes xattr = new XSetWindowAttributes();
try {
checkParams(params);
< prev index next >