--- old/src/java.desktop/share/classes/java/awt/Dialog.java 2014-09-10 15:11:40.141736200 +0400
+++ new/src/java.desktop/share/classes/java/awt/Dialog.java 2014-09-10 15:11:39.794319800 +0400
@@ -260,7 +260,7 @@
* The "toolkitModality" AWTPermission
must be granted
* for this exclusion. If an exclusion property is being changed to
* TOOLKIT_EXCLUDE
and this permission is not granted, a
- * SecurityEcxeption
will be thrown, and the exclusion
+ * SecurityException
will be thrown, and the exclusion
* property will be left unchanged.
*/
TOOLKIT_EXCLUDE
@@ -554,7 +554,7 @@
*
* @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 null
+ * of their descendants or null
*
* @exception java.lang.IllegalArgumentException if the owner
* is not an instance of {@link java.awt.Dialog Dialog} or {@link
@@ -578,7 +578,7 @@
*
* @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 null
+ * of their descendants or null
* @param title the title of the dialog or null
if this dialog
* has no title
*
@@ -604,7 +604,7 @@
*
* @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 null
+ * of their descendants or null
* @param modalityType specifies whether dialog blocks input to other
* windows when shown. null
value and unsupported modality
* types are equivalent to MODELESS
@@ -637,7 +637,7 @@
*
* @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 null
+ * of their descendants or null
* @param title the title of the dialog or null
if this dialog
* has no title
* @param modalityType specifies whether dialog blocks input to other
@@ -685,7 +685,7 @@
*
* @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 null
+ * of their descendants or null
* @param title the title of the dialog or null
if this dialog
* has no title
* @param modalityType specifies whether dialog blocks input to other
@@ -796,7 +796,7 @@
* @param modal specifies whether dialog blocks input to other windows
* when shown; calling to setModal(true)
is equivalent to
* setModalityType(Dialog.DEFAULT_MODALITY_TYPE)
, and
- * calling to setModal(false)
is equvivalent to
+ * calling to setModal(false)
is equivalent to
* setModalityType(Dialog.ModalityType.MODELESS)
*
* @see java.awt.Dialog#DEFAULT_MODALITY_TYPE
@@ -926,7 +926,7 @@
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);