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

Print this page




 392     public void setZOrder(ComponentPeer above) {
 393         throw new RuntimeException("not implemented");
 394     }
 395 
 396     @Override
 397     public void setAlwaysOnTop(boolean value) {
 398         platformWindow.setAlwaysOnTop(value);
 399     }
 400 
 401     @Override
 402     public void updateFocusableWindowState() {
 403         cachedFocusableWindow = getTarget().isFocusableWindow();
 404         platformWindow.updateFocusableWindowState();
 405     }
 406 
 407     @Override
 408     public void setModalBlocked(Dialog blocker, boolean blocked) {
 409         synchronized (getPeerTreeLock()) {
 410             this.blocker = blocked ? (LWWindowPeer)blocker.getPeer() : null;
 411         }






 412     }
 413 
 414     @Override
 415     public void updateMinimumSize() {
 416         Dimension d = null;
 417         if (getTarget().isMinimumSizeSet()) {
 418             d = getTarget().getMinimumSize();
 419         }
 420         if (d == null) {
 421             d = new Dimension(MINIMUM_WIDTH, MINIMUM_HEIGHT);
 422         }
 423         platformWindow.setMinimumSize(d.width, d.height);
 424     }
 425 
 426     @Override
 427     public void updateIconImages() {
 428         getPlatformWindow().updateIconImages();
 429     }
 430 
 431     @Override




 392     public void setZOrder(ComponentPeer above) {
 393         throw new RuntimeException("not implemented");
 394     }
 395 
 396     @Override
 397     public void setAlwaysOnTop(boolean value) {
 398         platformWindow.setAlwaysOnTop(value);
 399     }
 400 
 401     @Override
 402     public void updateFocusableWindowState() {
 403         cachedFocusableWindow = getTarget().isFocusableWindow();
 404         platformWindow.updateFocusableWindowState();
 405     }
 406 
 407     @Override
 408     public void setModalBlocked(Dialog blocker, boolean blocked) {
 409         synchronized (getPeerTreeLock()) {
 410             this.blocker = blocked ? (LWWindowPeer)blocker.getPeer() : null;
 411         }
 412         
 413         if (blocked) {
 414             platformWindow.modallyBlocked();
 415         } else {
 416             platformWindow.modallyUnblocked();
 417         }
 418     }
 419 
 420     @Override
 421     public void updateMinimumSize() {
 422         Dimension d = null;
 423         if (getTarget().isMinimumSizeSet()) {
 424             d = getTarget().getMinimumSize();
 425         }
 426         if (d == null) {
 427             d = new Dimension(MINIMUM_WIDTH, MINIMUM_HEIGHT);
 428         }
 429         platformWindow.setMinimumSize(d.width, d.height);
 430     }
 431 
 432     @Override
 433     public void updateIconImages() {
 434         getPlatformWindow().updateIconImages();
 435     }
 436 
 437     @Override