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

Print this page

        

*** 407,416 **** --- 407,422 ---- @Override public void setModalBlocked(Dialog blocker, boolean blocked) { synchronized (getPeerTreeLock()) { this.blocker = blocked ? (LWWindowPeer)blocker.getPeer() : null; } + + if (blocked) { + platformWindow.modallyBlocked(); + } else { + platformWindow.modallyUnblocked(); + } } @Override public void updateMinimumSize() { Dimension d = null;