equal
deleted
inserted
replaced
668 throw new IllegalArgumentException("Wrong parent window"); |
668 throw new IllegalArgumentException("Wrong parent window"); |
669 } |
669 } |
670 |
670 |
671 this.title = title; |
671 this.title = title; |
672 setModalityType(modalityType); |
672 setModalityType(modalityType); |
673 SunToolkit.checkAndSetPolicy(this, false); |
673 SunToolkit.checkAndSetPolicy(this); |
674 } |
674 } |
675 |
675 |
676 /** |
676 /** |
677 * Constructs an initially invisible <code>Dialog</code> with the |
677 * Constructs an initially invisible <code>Dialog</code> with the |
678 * specified owner <code>Window</code>, title, modality and |
678 * specified owner <code>Window</code>, title, modality and |
719 throw new IllegalArgumentException("wrong owner window"); |
719 throw new IllegalArgumentException("wrong owner window"); |
720 } |
720 } |
721 |
721 |
722 this.title = title; |
722 this.title = title; |
723 setModalityType(modalityType); |
723 setModalityType(modalityType); |
724 SunToolkit.checkAndSetPolicy(this, false); |
724 SunToolkit.checkAndSetPolicy(this); |
725 } |
725 } |
726 |
726 |
727 /** |
727 /** |
728 * Construct a name for this component. Called by getName() when the |
728 * Construct a name for this component. Called by getName() when the |
729 * name is null. |
729 * name is null. |