src/macosx/classes/sun/lwawt/LWWindowPeer.java

Print this page

        

*** 405,415 **** } @Override public void setModalBlocked(Dialog blocker, boolean blocked) { synchronized (getPeerTreeLock()) { ! this.blocker = blocked ? (LWWindowPeer)blocker.getPeer() : null; } } @Override public void updateMinimumSize() { --- 405,419 ---- } @Override public void setModalBlocked(Dialog blocker, boolean blocked) { synchronized (getPeerTreeLock()) { ! if(blocked && blocker.getPeer() instanceof LWWindowPeer) { ! this.blocker = (LWWindowPeer)blocker.getPeer(); ! } else { ! this.blocker = null; ! } } } @Override public void updateMinimumSize() {