src/java.desktop/share/classes/java/awt/Dialog.java

Print this page

        

@@ -258,11 +258,11 @@
          * it isn't blocked by document-modal dialogs from outside of its
          * child hierarchy.
          * The "toolkitModality" <code>AWTPermission</code> must be granted
          * for this exclusion. If an exclusion property is being changed to
          * <code>TOOLKIT_EXCLUDE</code> and this permission is not granted, a
-         * <code>SecurityEcxeption</code> will be thrown, and the exclusion
+         * <code>SecurityException</code> will be thrown, and the exclusion
          * property will be left unchanged.
          */
         TOOLKIT_EXCLUDE
     };
 

@@ -552,11 +552,11 @@
      * Constructs an initially invisible, modeless <code>Dialog</code> with the
      * specified owner <code>Window</code> and an empty title.
      *
      * @param owner the owner of the dialog. The owner must be an instance of
      *     {@link java.awt.Dialog Dialog}, {@link java.awt.Frame Frame}, any
-     *     of their descendents or <code>null</code>
+     *     of their descendants or <code>null</code>
      *
      * @exception java.lang.IllegalArgumentException if the <code>owner</code>
      *     is not an instance of {@link java.awt.Dialog Dialog} or {@link
      *     java.awt.Frame Frame}
      * @exception java.lang.IllegalArgumentException if the <code>owner</code>'s

@@ -576,11 +576,11 @@
      * Constructs an initially invisible, modeless <code>Dialog</code> with
      * the specified owner <code>Window</code> and title.
      *
      * @param owner the owner of the dialog. The owner must be an instance of
      *    {@link java.awt.Dialog Dialog}, {@link java.awt.Frame Frame}, any
-     *    of their descendents or <code>null</code>
+     *    of their descendants or <code>null</code>
      * @param title the title of the dialog or <code>null</code> if this dialog
      *    has no title
      *
      * @exception java.lang.IllegalArgumentException if the <code>owner</code>
      *    is not an instance of {@link java.awt.Dialog Dialog} or {@link

@@ -602,11 +602,11 @@
      * Constructs an initially invisible <code>Dialog</code> with the
      * specified owner <code>Window</code> and modality and an empty title.
      *
      * @param owner the owner of the dialog. The owner must be an instance of
      *    {@link java.awt.Dialog Dialog}, {@link java.awt.Frame Frame}, any
-     *    of their descendents or <code>null</code>
+     *    of their descendants or <code>null</code>
      * @param modalityType specifies whether dialog blocks input to other
      *    windows when shown. <code>null</code> value and unsupported modality
      *    types are equivalent to <code>MODELESS</code>
      *
      * @exception java.lang.IllegalArgumentException if the <code>owner</code>

@@ -635,11 +635,11 @@
      * Constructs an initially invisible <code>Dialog</code> with the
      * specified owner <code>Window</code>, title and modality.
      *
      * @param owner the owner of the dialog. The owner must be an instance of
      *     {@link java.awt.Dialog Dialog}, {@link java.awt.Frame Frame}, any
-     *     of their descendents or <code>null</code>
+     *     of their descendants or <code>null</code>
      * @param title the title of the dialog or <code>null</code> if this dialog
      *     has no title
      * @param modalityType specifies whether dialog blocks input to other
      *    windows when shown. <code>null</code> value and unsupported modality
      *    types are equivalent to <code>MODELESS</code>

@@ -683,11 +683,11 @@
      * specified owner <code>Window</code>, title, modality and
      * <code>GraphicsConfiguration</code>.
      *
      * @param owner the owner of the dialog. The owner must be an instance of
      *     {@link java.awt.Dialog Dialog}, {@link java.awt.Frame Frame}, any
-     *     of their descendents or <code>null</code>
+     *     of their descendants or <code>null</code>
      * @param title the title of the dialog or <code>null</code> if this dialog
      *     has no title
      * @param modalityType specifies whether dialog blocks input to other
      *    windows when shown. <code>null</code> value and unsupported modality
      *    types are equivalent to <code>MODELESS</code>

@@ -794,11 +794,11 @@
      * until it is hidden and then shown again.
      *
      * @param modal specifies whether dialog blocks input to other windows
      *     when shown; calling to <code>setModal(true)</code> is equivalent to
      *     <code>setModalityType(Dialog.DEFAULT_MODALITY_TYPE)</code>, and
-     *     calling to <code>setModal(false)</code> is equvivalent to
+     *     calling to <code>setModal(false)</code> is equivalent to
      *     <code>setModalityType(Dialog.ModalityType.MODELESS)</code>
      *
      * @see       java.awt.Dialog#DEFAULT_MODALITY_TYPE
      * @see       java.awt.Dialog.ModalityType#MODELESS
      * @see       java.awt.Dialog#isModal

@@ -924,11 +924,11 @@
                 }
 
                 if (toFocus != null && time != null && isFocusable() &&
                     isEnabled() && !isModalBlocked()) {
                     // keep the KeyEvents from being dispatched
-                    // until the focus has been transfered
+                    // until the focus has been transferred
                     time.set(Toolkit.getEventQueue().getMostRecentKeyEventTime());
                     KeyboardFocusManager.getCurrentKeyboardFocusManager().
                         enqueueKeyEvents(time.get(), toFocus);
                 }