8055326: Fix typos in client-related packages
authorserb
Wed, 17 Sep 2014 16:14:12 +0400
changeset 26749 b6598aa90114
parent 26748 fba66a2e8961
child 26750 d0d6c64a2e2b
8055326: Fix typos in client-related packages Reviewed-by: prr, azvegint, alexsch Contributed-by: pavel.rappo@oracle.com
jdk/src/java.desktop/share/classes/com/sun/awt/AWTUtilities.java
jdk/src/java.desktop/share/classes/com/sun/awt/SecurityWarning.java
jdk/src/java.desktop/share/classes/java/awt/AWTEvent.java
jdk/src/java.desktop/share/classes/java/awt/AWTEventMulticaster.java
jdk/src/java.desktop/share/classes/java/awt/AWTKeyStroke.java
jdk/src/java.desktop/share/classes/java/awt/AlphaComposite.java
jdk/src/java.desktop/share/classes/java/awt/BorderLayout.java
jdk/src/java.desktop/share/classes/java/awt/CardLayout.java
jdk/src/java.desktop/share/classes/java/awt/Component.java
jdk/src/java.desktop/share/classes/java/awt/ComponentOrientation.java
jdk/src/java.desktop/share/classes/java/awt/Container.java
jdk/src/java.desktop/share/classes/java/awt/ContainerOrderFocusTraversalPolicy.java
jdk/src/java.desktop/share/classes/java/awt/DefaultKeyboardFocusManager.java
jdk/src/java.desktop/share/classes/java/awt/Desktop.java
jdk/src/java.desktop/share/classes/java/awt/Dialog.java
jdk/src/java.desktop/share/classes/java/awt/EventDispatchThread.java
jdk/src/java.desktop/share/classes/java/awt/EventFilter.java
jdk/src/java.desktop/share/classes/java/awt/EventQueue.java
jdk/src/java.desktop/share/classes/java/awt/FlowLayout.java
jdk/src/java.desktop/share/classes/java/awt/Font.java
jdk/src/java.desktop/share/classes/java/awt/Frame.java
jdk/src/java.desktop/share/classes/java/awt/GraphicsEnvironment.java
jdk/src/java.desktop/share/classes/java/awt/GridBagConstraints.java
jdk/src/java.desktop/share/classes/java/awt/GridBagLayout.java
jdk/src/java.desktop/share/classes/java/awt/JobAttributes.java
jdk/src/java.desktop/share/classes/java/awt/KeyboardFocusManager.java
jdk/src/java.desktop/share/classes/java/awt/List.java
jdk/src/java.desktop/share/classes/java/awt/MenuShortcut.java
jdk/src/java.desktop/share/classes/java/awt/Polygon.java
jdk/src/java.desktop/share/classes/java/awt/RadialGradientPaintContext.java
jdk/src/java.desktop/share/classes/java/awt/Rectangle.java
jdk/src/java.desktop/share/classes/java/awt/RenderingHints.java
jdk/src/java.desktop/share/classes/java/awt/ScrollPaneAdjustable.java
jdk/src/java.desktop/share/classes/java/awt/Scrollbar.java
jdk/src/java.desktop/share/classes/java/awt/TextComponent.java
jdk/src/java.desktop/share/classes/java/awt/Window.java
jdk/src/java.desktop/share/classes/java/awt/color/ICC_Profile.java
jdk/src/java.desktop/share/classes/java/awt/datatransfer/MimeType.java
jdk/src/java.desktop/share/classes/java/awt/datatransfer/MimeTypeParameterList.java
jdk/src/java.desktop/share/classes/java/awt/datatransfer/SystemFlavorMap.java
jdk/src/java.desktop/share/classes/java/awt/dnd/DragSource.java
jdk/src/java.desktop/share/classes/java/awt/dnd/DropTarget.java
jdk/src/java.desktop/share/classes/java/awt/dnd/DropTargetListener.java
jdk/src/java.desktop/share/classes/java/awt/dnd/peer/DropTargetPeer.java
jdk/src/java.desktop/share/classes/java/awt/event/InputEvent.java
jdk/src/java.desktop/share/classes/java/awt/event/KeyEvent.java
jdk/src/java.desktop/share/classes/java/awt/event/WindowEvent.java
jdk/src/java.desktop/share/classes/java/awt/event/WindowFocusListener.java
jdk/src/java.desktop/share/classes/java/awt/font/GlyphVector.java
jdk/src/java.desktop/share/classes/java/awt/font/ImageGraphicAttribute.java
jdk/src/java.desktop/share/classes/java/awt/font/NumericShaper.java
jdk/src/java.desktop/share/classes/java/awt/font/StyledParagraph.java
jdk/src/java.desktop/share/classes/java/awt/font/TextAttribute.java
jdk/src/java.desktop/share/classes/java/awt/font/TextLayout.java
jdk/src/java.desktop/share/classes/java/awt/im/spi/InputMethod.java
jdk/src/java.desktop/share/classes/java/awt/image/BufferedImage.java
jdk/src/java.desktop/share/classes/java/awt/image/ColorModel.java
jdk/src/java.desktop/share/classes/java/awt/image/FilteredImageSource.java
jdk/src/java.desktop/share/classes/java/awt/image/Raster.java
jdk/src/java.desktop/share/classes/java/awt/image/WritableRenderedImage.java
jdk/src/java.desktop/share/classes/java/awt/image/renderable/ContextualRenderedImageFactory.java
jdk/src/java.desktop/share/classes/java/awt/image/renderable/RenderableImage.java
jdk/src/java.desktop/share/classes/java/awt/peer/ComponentPeer.java
jdk/src/java.desktop/share/classes/java/awt/print/PageFormat.java
jdk/src/java.desktop/share/classes/java/awt/print/Paper.java
jdk/src/java.desktop/share/classes/java/awt/print/PrinterJob.java
jdk/src/java.desktop/share/classes/javax/swing/text/html/CSS.java
--- a/jdk/src/java.desktop/share/classes/com/sun/awt/AWTUtilities.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/com/sun/awt/AWTUtilities.java	Wed Sep 17 16:14:12 2014 +0400
@@ -55,7 +55,7 @@
  * windows using a translucency-capable graphics configuration.
  * The {@code isTranslucencyCapable()} method must
  * be used to verify whether any given GraphicsConfiguration supports
- * the trasnlcency effects.
+ * the translucency effects.
  * <p>
  * <b>WARNING</b>: This class is an implementation detail and only meant
  * for limited use outside of the core platform. This API may change
--- a/jdk/src/java.desktop/share/classes/com/sun/awt/SecurityWarning.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/com/sun/awt/SecurityWarning.java	Wed Sep 17 16:14:12 2014 +0400
@@ -106,7 +106,7 @@
      * the window. The "absolute" in this case means that the position of the
      * security warning is not effected by resizing of the window.
      * <p>
-     * Note that the security warning managment code guarantees that:
+     * Note that the security warning management code guarantees that:
      * <ul>
      * <li>The security warning cannot be located farther than two pixels from
      * the rectangular bounds of the window (see {@link Window#getBounds}), and
--- a/jdk/src/java.desktop/share/classes/java/awt/AWTEvent.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/AWTEvent.java	Wed Sep 17 16:14:12 2014 +0400
@@ -38,7 +38,7 @@
 
 /**
  * The root event class for all AWT events.
- * This class and its subclasses supercede the original
+ * This class and its subclasses supersede the original
  * java.awt.Event class.
  * Subclasses of this root AWTEvent class defined outside of the
  * java.awt.event package should define event ID values greater than
--- a/jdk/src/java.desktop/share/classes/java/awt/AWTEventMulticaster.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/AWTEventMulticaster.java	Wed Sep 17 16:14:12 2014 +0400
@@ -379,7 +379,7 @@
     }
 
     /**
-     * Handles the windowDeiconfied event by invoking the
+     * Handles the windowDeiconified event by invoking the
      * windowDeiconified methods on listener-a and listener-b.
      * @param e the window event
      */
@@ -1053,7 +1053,7 @@
     }
 
     /*
-     * Recusive method which populates EventListener array a with EventListeners
+     * Recursive method which populates EventListener array a with EventListeners
      * from l.  l is usually an AWTEventMulticaster.  Bug 4513402 revealed that
      * if l differed in type from the element type of a, an ArrayStoreException
      * would occur.  Now l is only inserted into a if it's of the appropriate
--- a/jdk/src/java.desktop/share/classes/java/awt/AWTKeyStroke.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/AWTKeyStroke.java	Wed Sep 17 16:14:12 2014 +0400
@@ -83,7 +83,7 @@
     /*
      * Reads keystroke class from AppContext and if null, puts there the
      * AWTKeyStroke class.
-     * Must be called under locked AWTKeyStro
+     * Must be called under locked AWTKeyStroke
      */
     private static Class<AWTKeyStroke> getAWTKeyStrokeClass() {
         @SuppressWarnings("unchecked")
@@ -225,7 +225,7 @@
         }
     }
 
-    /* returns noarg Constructor for class with accessible flag. No security
+    /* returns no-arg Constructor for class with accessible flag. No security
        threat as accessible flag is set only for this Constructor object,
        not for Class constructor.
      */
--- a/jdk/src/java.desktop/share/classes/java/awt/AlphaComposite.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/AlphaComposite.java	Wed Sep 17 16:14:12 2014 +0400
@@ -304,7 +304,7 @@
  * <p>
  * Alternately, an implementation that uses floating point math
  * might produce more accurate results and end up returning to the
- * original pixel value with little, if any, roundoff error.
+ * original pixel value with little, if any, round-off error.
  * Or, an implementation using integer math might decide that since
  * the equations boil down to a virtual NOP on the color values
  * if performed in a floating point space, it can transfer the
--- a/jdk/src/java.desktop/share/classes/java/awt/BorderLayout.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/BorderLayout.java	Wed Sep 17 16:14:12 2014 +0400
@@ -74,7 +74,7 @@
  * For example, if you add components using both the <code>NORTH</code>
  * and <code>PAGE_START</code> constants in a container whose
  * orientation is <code>LEFT_TO_RIGHT</code>, only the
- * <code>PAGE_START</code> will be layed out.
+ * <code>PAGE_START</code> will be laid out.
  * <p>
  * NOTE: Currently (in the Java 2 platform v1.2),
  * <code>BorderLayout</code> does not support vertical
@@ -211,7 +211,7 @@
      * For example, if you add components using both the <code>NORTH</code>
      * and <code>BEFORE_FIRST_LINE</code> constants in a container whose
      * orientation is <code>LEFT_TO_RIGHT</code>, only the
-     * <code>BEFORE_FIRST_LINE</code> will be layed out.
+     * <code>BEFORE_FIRST_LINE</code> will be laid out.
      * This will be the same for lastLine, firstItem, lastItem.
      * @serial
      */
--- a/jdk/src/java.desktop/share/classes/java/awt/CardLayout.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/CardLayout.java	Wed Sep 17 16:14:12 2014 +0400
@@ -109,7 +109,7 @@
 
     /**
      * @serialField tab         Hashtable
-     *      deprectated, for forward compatibility only
+     *      deprecated, for forward compatibility only
      * @serialField hgap        int
      * @serialField vgap        int
      * @serialField vector      Vector
--- a/jdk/src/java.desktop/share/classes/java/awt/Component.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/Component.java	Wed Sep 17 16:14:12 2014 +0400
@@ -167,7 +167,7 @@
  *    }
  * </pre>
  * <p>
- * <b>Note</b>: For more information on the paint mechanisms utilitized
+ * <b>Note</b>: For more information on the paint mechanisms utilized
  * by AWT and Swing, including information on how to write the most
  * efficient painting code, see
  * <a href="http://www.oracle.com/technetwork/java/painting-140037.html">Painting in AWT and Swing</a>.
@@ -355,7 +355,7 @@
 
     /**
      * True when the object is valid. An invalid object needs to
-     * be layed out. This flag is set to false when the object
+     * be laid out. This flag is set to false when the object
      * size is changed.
      *
      * @serial
@@ -418,7 +418,7 @@
     private static final int FOCUS_TRAVERSABLE_SET = 2;
 
     /**
-     * Tracks whether this Component is relying on default focus travesability.
+     * Tracks whether this Component is relying on default focus traversability.
      *
      * @serial
      * @since 1.4
@@ -661,7 +661,7 @@
      * can lead to a deadlock if client code also uses synchronization
      * by a component object. For every such situation revealed we should
      * consider possibility of replacing "this" with the package private
-     * objectLock object introduced below. So far there're 3 issues known:
+     * objectLock object introduced below. So far there are 3 issues known:
      * - CR 6708322 (the getName/setName methods);
      * - CR 6608764 (the PropertyChangeListener machinery);
      * - CR 7108598 (the Container.paint/KeyboardFocusManager.clearMostRecentFocusOwner methods).
@@ -783,7 +783,7 @@
     }
 
     /*
-     * The shape set with the applyCompoundShape() method. It uncludes the result
+     * The shape set with the applyCompoundShape() method. It includes the result
      * of the HW/LW mixing related shape computation. It may also include
      * the user-specified shape of the component.
      * The 'null' value means the component has normal shape (or has no shape at all)
@@ -808,7 +808,7 @@
 
     /**
      * Should only be used in subclass getBounds to check that part of bounds
-     * is actualy changing
+     * is actually changing
      */
     int getBoundsOp() {
         assert Thread.holdsLock(getTreeLock());
@@ -1691,7 +1691,7 @@
     }
 
     /*
-     * Delete references from LightweithDispatcher of a heavyweight parent
+     * Delete references from LightweightDispatcher of a heavyweight parent
      */
     void clearLightweightDispatcherOnRemove(Component removedComponent) {
         if (parent != null) {
@@ -2337,10 +2337,10 @@
                 boolean needNotify = true;
                 mixOnReshaping();
                 if (peer != null) {
-                    // LightwightPeer is an empty stub so can skip peer.reshape
+                    // LightweightPeer is an empty stub so can skip peer.reshape
                     if (!(peer instanceof LightweightPeer)) {
                         reshapeNativePeer(x, y, width, height, getBoundsOp());
-                        // Check peer actualy changed coordinates
+                        // Check peer actually changed coordinates
                         resized = (oldWidth != this.width) || (oldHeight != this.height);
                         moved = (oldX != this.x) || (oldY != this.y);
                         // fix for 5025858: do not send ComponentEvents for toplevel
@@ -5106,7 +5106,7 @@
                 // ancestor, there is no need trying to find descendant
                 // lightweights to dispatch event to.
                 // If we dispatch the event to toplevel ancestor,
-                // this could encolse the loop: 6480024.
+                // this could enclose the loop: 6480024.
                 anc.dispatchEventToSelf(newMWE);
                 if (newMWE.isConsumed()) {
                     e.consume();
@@ -6203,7 +6203,7 @@
      * Indicates whether this class overrides coalesceEvents.
      * It is assumed that all classes that are loaded from the bootstrap
      *   do not.
-     * The boostrap class loader is assumed to be represented by null.
+     * The bootstrap class loader is assumed to be represented by null.
      * We do not check that the method really overrides
      *   (it might be static, private or package private).
      */
@@ -6251,7 +6251,7 @@
         Class<?> superclass = clazz.getSuperclass();
         if (superclass == null) {
             // Only occurs on implementations that
-            //   do not use null to represent the bootsrap class loader.
+            //   do not use null to represent the bootstrap class loader.
             return false;
         }
         if (superclass.getClassLoader() != null) {
@@ -7761,7 +7761,7 @@
         while ( (window != null) && !(window instanceof Window)) {
             if (!window.isVisible()) {
                 if (focusLog.isLoggable(PlatformLogger.Level.FINEST)) {
-                    focusLog.finest("component is recurively invisible");
+                    focusLog.finest("component is recursively invisible");
                 }
                 return false;
             }
@@ -7865,7 +7865,7 @@
             // in activation.  We do request focus on component which
             // has got temporary focus lost and then on component which is
             // most recent focus owner.  But most recent focus owner can be
-            // changed by requestFocsuXXX() call only, so this transfer has
+            // changed by requestFocusXXX() call only, so this transfer has
             // been already approved.
             if (focusLog.isLoggable(PlatformLogger.Level.FINEST)) {
                 focusLog.finest("cause is activation");
@@ -8692,7 +8692,7 @@
         Package swingPackage = Package.getPackage("javax.swing");
         // For Swing serialization to correctly work Swing needs to
         // be notified before Component does it's serialization.  This
-        // hack accomodates this.
+        // hack accommodates this.
         //
         // Swing classes MUST be loaded by the bootstrap class loader,
         // otherwise we don't consider them.
@@ -9040,7 +9040,7 @@
     }
 
     /**
-     * Checks that this component meets the prerequesites to be focus owner:
+     * Checks that this component meets the prerequisites to be focus owner:
      * - it is enabled, visible, focusable
      * - it's parents are all enabled and showing
      * - top-level window is focusable
@@ -9649,7 +9649,7 @@
         /**
          * Returns the size of this object in the form of a
          * <code>Dimension</code> object. The height field of the
-         * <code>Dimension</code> object contains this objects's
+         * <code>Dimension</code> object contains this object's
          * height, and the width field of the <code>Dimension</code>
          * object contains this object's width.
          *
@@ -9833,7 +9833,7 @@
     /**
      * Check whether we can trust the current bounds of the component.
      * The return value of false indicates that the container of the
-     * component is invalid, and therefore needs to be layed out, which would
+     * component is invalid, and therefore needs to be laid out, which would
      * probably mean changing the bounds of its children.
      * Null-layout of the container or absence of the container mean
      * the bounds of the component are final and can be trusted.
--- a/jdk/src/java.desktop/share/classes/java/awt/ComponentOrientation.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/ComponentOrientation.java	Wed Sep 17 16:14:12 2014 +0400
@@ -154,7 +154,7 @@
     public static ComponentOrientation getOrientation(Locale locale) {
         // A more flexible implementation would consult a ResourceBundle
         // to find the appropriate orientation.  Until pluggable locales
-        // are introduced however, the flexiblity isn't really needed.
+        // are introduced however, the flexibility isn't really needed.
         // So we choose efficiency instead.
         String lang = locale.getLanguage();
         if( "iw".equals(lang) || "ar".equals(lang)
--- a/jdk/src/java.desktop/share/classes/java/awt/Container.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/Container.java	Wed Sep 17 16:14:12 2014 +0400
@@ -547,8 +547,8 @@
     }
 
     /**
-     * Removes component comp from this container without making unneccessary changes
-     * and generating unneccessary events. This function intended to perform optimized
+     * Removes component comp from this container without making unnecessary changes
+     * and generating unnecessary events. This function intended to perform optimized
      * remove, for example, if newParent and current parent are the same it just changes
      * index without calling removeNotify.
      * Note: Should be called while holding treeLock
@@ -1407,11 +1407,11 @@
             return;
 
         descendantsCount += num;
-        adjustDecendantsOnParent(num);
+        adjustDescendantsOnParent(num);
     }
 
     // Should only be called while holding tree lock
-    void adjustDecendantsOnParent(int num) {
+    void adjustDescendantsOnParent(int num) {
         if (parent != null) {
             parent.adjustDescendants(num);
         }
@@ -2338,7 +2338,7 @@
     }
 
     /**
-     * Fetchs the top-most (deepest) lightweight component that is interested
+     * Fetches the top-most (deepest) lightweight component that is interested
      * in receiving mouse events.
      */
     Component getMouseEventTarget(int x, int y, boolean includeSelf) {
@@ -2887,7 +2887,7 @@
         modalAppContext = AppContext.getAppContext();
 
         // keep the KeyEvents from being dispatched
-        // until the focus has been transfered
+        // until the focus has been transferred
         long time = Toolkit.getEventQueue().getMostRecentKeyEventTime();
         Component predictedFocusOwner = (Component.isInstanceOf(this, "javax.swing.JInternalFrame")) ? ((javax.swing.JInternalFrame)(this)).getMostRecentFocusOwner() : null;
         if (predictedFocusOwner != null) {
@@ -3673,7 +3673,7 @@
      * <ul>
      *    <li>Writes default serializable fields to the stream.</li>
      *    <li>Writes a list of serializable ContainerListener(s) as optional
-     *        data. The non-serializable ContainerListner(s) are detected and
+     *        data. The non-serializable ContainerListener(s) are detected and
      *        no attempt is made to serialize them.</li>
      *    <li>Write this Container's FocusTraversalPolicy if and only if it
      *        is Serializable; otherwise, <code>null</code> is written.</li>
--- a/jdk/src/java.desktop/share/classes/java/awt/ContainerOrderFocusTraversalPolicy.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/ContainerOrderFocusTraversalPolicy.java	Wed Sep 17 16:14:12 2014 +0400
@@ -166,7 +166,7 @@
                     retComp = cont.getFocusTraversalPolicy().getDefaultComponent(cont);
 
                     if (retComp != null && log.isLoggable(PlatformLogger.Level.FINE)) {
-                        log.fine("### Transfered focus down-cycle to " + retComp +
+                        log.fine("### Transferred focus down-cycle to " + retComp +
                                  " in the focus cycle root " + cont);
                     }
                 } else {
@@ -178,7 +178,7 @@
                            cont.getFocusTraversalPolicy().getLastComponent(cont));
 
                 if (retComp != null && log.isLoggable(PlatformLogger.Level.FINE)) {
-                    log.fine("### Transfered focus to " + retComp + " in the FTP provider " + cont);
+                    log.fine("### Transferred focus to " + retComp + " in the FTP provider " + cont);
                 }
             }
         }
@@ -228,7 +228,7 @@
                 return null;
             }
 
-            // Before all the ckecks below we first see if it's an FTP provider or a focus cycle root.
+            // Before all the checks below we first see if it's an FTP provider or a focus cycle root.
             // If it's the case just go down cycle (if it's set to "implicit").
             Component comp = getComponentDownCycle(aComponent, FORWARD_TRAVERSAL);
             if (comp != null) {
--- a/jdk/src/java.desktop/share/classes/java/awt/DefaultKeyboardFocusManager.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/DefaultKeyboardFocusManager.java	Wed Sep 17 16:14:12 2014 +0400
@@ -230,7 +230,7 @@
      * If the Component is in a different AppContext, then the event is
      * posted to the other AppContext's EventQueue, and this method blocks
      * until the event is handled or target AppContext is disposed.
-     * Returns true if successfuly dispatched event, false if failed
+     * Returns true if successfully dispatched event, false if failed
      * to dispatch.
      */
     static boolean sendMessage(Component target, AWTEvent e) {
@@ -349,7 +349,7 @@
                                 new WindowEvent(oldFocusedWindow,
                                                 WindowEvent.WINDOW_LOST_FOCUS,
                                                 newFocusedWindow));
-                    // Failed to dispatch, clear by ourselfves
+                    // Failed to dispatch, clear by ourselves
                     if (!isEventDispatched) {
                         setGlobalFocusOwner(null);
                         setGlobalFocusedWindow(null);
@@ -466,7 +466,7 @@
                                 new WindowEvent(oldActiveWindow,
                                                 WindowEvent.WINDOW_DEACTIVATED,
                                                 newActiveWindow));
-                    // Failed to dispatch, clear by ourselfves
+                    // Failed to dispatch, clear by ourselves
                     if (!isEventDispatched) {
                         setGlobalActiveWindow(null);
                     }
@@ -513,7 +513,7 @@
                                                    FocusEvent.FOCUS_LOST,
                                                    fe.isTemporary(),
                                                    newFocusOwner, cause));
-                    // Failed to dispatch, clear by ourselfves
+                    // Failed to dispatch, clear by ourselves
                     if (!isEventDispatched) {
                         setGlobalFocusOwner(null);
                         if (!fe.isTemporary()) {
@@ -749,7 +749,7 @@
                 typeAheadAssertions(currentFocusedWindow, we);
 
                 if (oppositeWindow == null) {
-                    // Then we need to deactive the active Window as well.
+                    // Then we need to deactivate the active Window as well.
                     // No need to synthesize in other cases, because
                     // WINDOW_ACTIVATED will handle it if necessary.
                     sendMessage(activeWindow,
@@ -954,7 +954,7 @@
                 // the Component which just gained focus. Then remove
                 // that marker, any markers which immediately follow
                 // and are tied to the same component, and all markers
-                // that preceed it. This handles the case where
+                // that precede it. This handles the case where
                 // multiple focus requests were made for the same
                 // Component in a row and when we lost some of the
                 // earlier requests. Since FOCUS_GAINED events will
--- a/jdk/src/java.desktop/share/classes/java/awt/Desktop.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/Desktop.java	Wed Sep 17 16:14:12 2014 +0400
@@ -387,7 +387,7 @@
             return;
         }
 
-        // Calling thread doesn't have necessary priviledges.
+        // Calling thread doesn't have necessary privileges.
         // Delegate to DesktopBrowse so that it can work in
         // applet/webstart.
         URL url = null;
--- a/jdk/src/java.desktop/share/classes/java/awt/Dialog.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/Dialog.java	Wed Sep 17 16:14:12 2014 +0400
@@ -260,7 +260,7 @@
          * 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
@@ -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 <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
@@ -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 <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
      *
@@ -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 <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>
@@ -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 <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
@@ -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 <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
@@ -796,7 +796,7 @@
      * @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
@@ -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);
--- a/jdk/src/java.desktop/share/classes/java/awt/EventDispatchThread.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/EventDispatchThread.java	Wed Sep 17 16:14:12 2014 +0400
@@ -43,7 +43,7 @@
  * pumpEvents(Conditional) in its run() method. Event handlers can choose to
  * block this event pump at any time, but should start a new pump (<b>not</b>
  * a new EventDispatchThread) by again calling pumpEvents(Conditional). This
- * secondary event pump will exit automatically as soon as the Condtional
+ * secondary event pump will exit automatically as soon as the Conditional
  * evaluate()s to false and an additional Event is pumped and dispatched.
  *
  * @author Tom Ball
--- a/jdk/src/java.desktop/share/classes/java/awt/EventFilter.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/EventFilter.java	Wed Sep 17 16:14:12 2014 +0400
@@ -32,7 +32,7 @@
      */
     static enum FilterAction {
         /**
-         * ACCEPT means that this filter do not filter the event and allowes other
+         * ACCEPT means that this filter do not filter the event and allows other
          * active filters to proceed it. If all the active filters accept the event, it
          * is dispatched by the <code>EventDispatchThread</code>
          * @see EventDispatchThread#pumpEventsForFilter
--- a/jdk/src/java.desktop/share/classes/java/awt/EventQueue.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/EventQueue.java	Wed Sep 17 16:14:12 2014 +0400
@@ -418,7 +418,7 @@
     /*
      * Should avoid of calling this method by any means
      * as it's working time is dependant on EQ length.
-     * In the wors case this method alone can slow down the entire application
+     * In the worst case this method alone can slow down the entire application
      * 10 times by stalling the Event processing.
      * Only here by backward compatibility reasons.
      */
--- a/jdk/src/java.desktop/share/classes/java/awt/FlowLayout.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/FlowLayout.java	Wed Sep 17 16:14:12 2014 +0400
@@ -161,7 +161,7 @@
     int newAlign;       // This is the one we actually use
 
     /**
-     * The flow layout manager allows a seperation of
+     * The flow layout manager allows a separation of
      * components with gaps.  The horizontal gap will
      * specify the space between components and between
      * the components and the borders of the
@@ -174,7 +174,7 @@
     int hgap;
 
     /**
-     * The flow layout manager allows a seperation of
+     * The flow layout manager allows a separation of
      * components with gaps.  The vertical gap will
      * specify the space between rows and between the
      * the rows and the borders of the <code>Container</code>.
--- a/jdk/src/java.desktop/share/classes/java/awt/Font.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/Font.java	Wed Sep 17 16:14:12 2014 +0400
@@ -335,7 +335,7 @@
     public static final int CENTER_BASELINE = 1;
 
     /**
-     * The baseline used in Devanigiri and similar scripts when laying
+     * The baseline used in Devanagari and similar scripts when laying
      * out text.
      */
     public static final int HANGING_BASELINE = 2;
@@ -852,7 +852,7 @@
      * <p>
      * To make the <code>Font</code> available to Font constructors the
      * returned <code>Font</code> must be registered in the
-     * <code>GraphicsEnviroment</code> by calling
+     * <code>GraphicsEnvironment</code> by calling
      * {@link GraphicsEnvironment#registerFont(Font) registerFont(Font)}.
      * @param fontFormat the type of the <code>Font</code>, which is
      * {@link #TRUETYPE_FONT TRUETYPE_FONT} if a TrueType resource is specified.
@@ -1018,7 +1018,7 @@
      * <p>
      * To make the <code>Font</code> available to Font constructors the
      * returned <code>Font</code> must be registered in the
-     * <code>GraphicsEnviroment</code> by calling
+     * <code>GraphicsEnvironment</code> by calling
      * {@link GraphicsEnvironment#registerFont(Font) registerFont(Font)}.
      * @param fontFile a <code>File</code> object representing the
      * input data for the font.
@@ -1685,7 +1685,7 @@
 
 
     /** Serialization support.  A <code>readObject</code>
-     *  method is neccessary because the constructor creates
+     *  method is necessary because the constructor creates
      *  the font's peer, and we can't serialize the peer.
      *  Similarly the computed font "family" may be different
      *  at <code>readObject</code> time than at
--- a/jdk/src/java.desktop/share/classes/java/awt/Frame.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/Frame.java	Wed Sep 17 16:14:12 2014 +0400
@@ -348,7 +348,7 @@
 
     /*
      * The Windows owned by the Frame.
-     * Note: in 1.2 this has been superceded by Window.ownedWindowList
+     * Note: in 1.2 this has been superseded by Window.ownedWindowList
      *
      * @serial
      * @see java.awt.Window#ownedWindowList
--- a/jdk/src/java.desktop/share/classes/java/awt/GraphicsEnvironment.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/GraphicsEnvironment.java	Wed Sep 17 16:14:12 2014 +0400
@@ -97,12 +97,13 @@
 //          long t0 = System.currentTimeMillis();
             Class<?> geCls;
             try {
-                // First we try if the bootclassloader finds the requested
-                // class. This way we can avoid to run in a privileged block.
+                // First we try if the bootstrap class loader finds the
+                // requested class. This way we can avoid to run in a privileged
+                // block.
                 geCls = Class.forName(nm);
             } catch (ClassNotFoundException ex) {
-                // If the bootclassloader fails, we try again with the
-                // application classloader.
+                // If the bootstrap class loader fails, we try again with the
+                // application class loader.
                 ClassLoader cl = ClassLoader.getSystemClassLoader();
                 geCls = Class.forName(nm, true, cl);
             }
--- a/jdk/src/java.desktop/share/classes/java/awt/GridBagConstraints.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/GridBagConstraints.java	Wed Sep 17 16:14:12 2014 +0400
@@ -556,7 +556,7 @@
     transient int ascent;
     transient int descent;
     transient Component.BaselineResizeBehavior baselineResizeBehavior;
-    // The folllowing two fields are used if the baseline type is
+    // The following two fields are used if the baseline type is
     // CENTER_OFFSET.
     // centerPadding is either 0 or 1 and indicates if
     // the height needs to be padded by one when calculating where the
--- a/jdk/src/java.desktop/share/classes/java/awt/GridBagLayout.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/GridBagLayout.java	Wed Sep 17 16:14:12 2014 +0400
@@ -1096,7 +1096,7 @@
                 }
 
                 /* Adjust the grid width and height
-                 *  fix for 5005945: unneccessary loops removed
+                 *  fix for 5005945: unnecessary loops removed
                  */
                 px = curX + curWidth;
                 if (layoutWidth < px) {
@@ -1358,7 +1358,7 @@
             /*
              * Pass #3
              *
-             * Distribute the minimun widths and weights:
+             * Distribute the minimum widths and weights:
              */
 
             nextSize = Integer.MAX_VALUE;
@@ -1578,7 +1578,7 @@
                     // Component has a baseline resize behavior of
                     // CENTER_OFFSET, calculate centerPadding and
                     // centerOffset (see the description of
-                    // CENTER_OFFSET in the enum for detais on this
+                    // CENTER_OFFSET in the enum for details on this
                     // algorithm).
                     int nextBaseline = c.getBaseline(w, h + 1);
                     constraints.centerOffset = baseline - h / 2;
--- a/jdk/src/java.desktop/share/classes/java/awt/JobAttributes.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/JobAttributes.java	Wed Sep 17 16:14:12 2014 +0400
@@ -298,8 +298,8 @@
      * @param   defaultSelection <code>DefaultSelectionType.ALL</code>,
      *          <code>DefaultSelectionType.RANGE</code>, or
      *          <code>DefaultSelectionType.SELECTION</code>
-     * @param   destination <code>DesintationType.FILE</code> or
-     *          <code>DesintationType.PRINTER</code>
+     * @param   destination <code>DestinationType.FILE</code> or
+     *          <code>DestinationType.PRINTER</code>
      * @param   dialog <code>DialogType.COMMON</code>,
      *          <code>DialogType.NATIVE</code>, or
      *          <code>DialogType.NONE</code>
@@ -462,7 +462,7 @@
      * these attributes. This attribute is updated to the value chosen by the
      * user.
      *
-     * @return  DesintationType.FILE or DesintationType.PRINTER
+     * @return  DestinationType.FILE or DestinationType.PRINTER
      */
     public DestinationType getDestination() {
         return destination;
@@ -471,9 +471,9 @@
     /**
      * Specifies whether output will be to a printer or a file for jobs using
      * these attributes. Not specifying this attribute is equivalent to
-     * specifying DesintationType.PRINTER.
+     * specifying DestinationType.PRINTER.
      *
-     * @param   destination DesintationType.FILE or DesintationType.PRINTER.
+     * @param   destination DestinationType.FILE or DestinationType.PRINTER.
      * @throws  IllegalArgumentException if destination is null.
      */
     public void setDestination(DestinationType destination) {
--- a/jdk/src/java.desktop/share/classes/java/awt/KeyboardFocusManager.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/KeyboardFocusManager.java	Wed Sep 17 16:14:12 2014 +0400
@@ -2244,7 +2244,7 @@
         }
         public String toString() {
             boolean first = true;
-            String str = "HeavyweightFocusRequest[heavweight=" + heavyweight +
+            String str = "HeavyweightFocusRequest[heavyweight=" + heavyweight +
                 ",lightweightRequests=";
             if (lightweightRequests == null) {
                 str += null;
@@ -2666,7 +2666,7 @@
                      * We allow to trigger restoreFocus() in the dispatching process
                      * only if we have the last request to dispatch. If the last request
                      * fails, focus will be restored to either the component of the last
-                     * previously succedded request, or to to the focus owner that was
+                     * previously succeeded request, or to to the focus owner that was
                      * before this clearing process.
                      */
                     if (!iter.hasNext()) {
@@ -2765,7 +2765,7 @@
                 if (source == hwFocusRequest.getFirstLightweightRequest().component)
                 {
                     source = hwFocusRequest.heavyweight;
-                    nativeSource = source; // source is heavuweight itself
+                    nativeSource = source; // source is heavyweight itself
                 }
             }
             if (hwFocusRequest != null &&
@@ -2783,7 +2783,7 @@
                 if (currentFocusOwner != null) {
                     /*
                      * Since we receive FOCUS_GAINED when current focus
-                     * owner is not null, correcponding FOCUS_LOST is supposed
+                     * owner is not null, corresponding FOCUS_LOST is supposed
                      * to be lost.  And so,  we keep new focus owner
                      * to determine synthetic FOCUS_LOST event which will be
                      * generated by KeyboardFocusManager for this FOCUS_GAINED.
--- a/jdk/src/java.desktop/share/classes/java/awt/List.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/List.java	Wed Sep 17 16:14:12 2014 +0400
@@ -1652,7 +1652,7 @@
 
 
             //
-            // AccessibleComponent delegatation to parent List
+            // AccessibleComponent delegation to parent List
             //
 
             /**
@@ -1859,7 +1859,7 @@
              * screen's coordinate space.
              *
              * @return An instance of Point representing the top-left corner of
-             * the objects's bounds in the coordinate space of the screen; null
+             * the object's bounds in the coordinate space of the screen; null
              * if this object or its parent are not on the screen
              * @see #getBounds
              * @see #getLocationOnScreen
@@ -1907,7 +1907,7 @@
             /**
              * Returns the size of this object in the form of a Dimension
              * object.  The height field of the Dimension object contains this
-             * objects's height, and the width field of the Dimension object
+             * object's height, and the width field of the Dimension object
              * contains this object's width.
              *
              * @return A Dimension object that indicates the size of this
--- a/jdk/src/java.desktop/share/classes/java/awt/MenuShortcut.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/MenuShortcut.java	Wed Sep 17 16:14:12 2014 +0400
@@ -76,7 +76,7 @@
     int key;
 
     /**
-     * Indicates whether the shft key was pressed.
+     * Indicates whether the shift key was pressed.
      * If true, the shift key was pressed.
      * If false, the shift key was not pressed
      *
--- a/jdk/src/java.desktop/share/classes/java/awt/Polygon.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/Polygon.java	Wed Sep 17 16:14:12 2014 +0400
@@ -145,8 +145,8 @@
      * @since 1.0
      */
     public Polygon(int xpoints[], int ypoints[], int npoints) {
-        // Fix 4489009: should throw IndexOutofBoundsException instead
-        // of OutofMemoryException if npoints is huge and > {x,y}points.length
+        // Fix 4489009: should throw IndexOutOfBoundsException instead
+        // of OutOfMemoryError if npoints is huge and > {x,y}points.length
         if (npoints > xpoints.length || npoints > ypoints.length) {
             throw new IndexOutOfBoundsException("npoints > xpoints.length || "+
                                                 "npoints > ypoints.length");
@@ -559,7 +559,7 @@
      *          coordinates as they are returned in the iteration, or
      *          <code>null</code> if untransformed coordinates are desired
      * @param flatness the maximum amount that the control points
-     *          for a given curve can vary from colinear before a subdivided
+     *          for a given curve can vary from collinear before a subdivided
      *          curve is replaced by a straight line connecting the
      *          endpoints.  Since polygons are already flat the
      *          <code>flatness</code> parameter is ignored.
--- a/jdk/src/java.desktop/share/classes/java/awt/RadialGradientPaintContext.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/RadialGradientPaintContext.java	Wed Sep 17 16:14:12 2014 +0400
@@ -33,7 +33,7 @@
 
 /**
  * Provides the actual implementation for the RadialGradientPaint.
- * This is where the pixel processing is done.  A RadialGradienPaint
+ * This is where the pixel processing is done.  A RadialGradientPaint
  * only supports circular gradients, but it should be possible to scale
  * the circle to look approximately elliptical, by means of a
  * gradient transform passed into the RadialGradientPaint constructor.
@@ -133,7 +133,7 @@
         this.isSimpleFocus = (focusX == centerX) && (focusY == centerY);
         this.isNonCyclic = (cycleMethod == CycleMethod.NO_CYCLE);
 
-        // for use in the quadractic equation
+        // for use in the quadratic equation
         radiusSq = radius * radius;
 
         float dX = focusX - centerX;
--- a/jdk/src/java.desktop/share/classes/java/awt/Rectangle.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/Rectangle.java	Wed Sep 17 16:14:12 2014 +0400
@@ -49,10 +49,10 @@
  * will include the location of the {@code Rectangle} on that axis in the
  * result as if the {@link #add(Point)} method were being called.
  * <p>
- * <a name="NonExistant">
+ * <a name="NonExistent">
  * A {@code Rectangle} whose width or height is negative has neither
  * location nor dimension along those axes with negative dimensions.
- * Such a {@code Rectangle} is treated as non-existant along those axes.
+ * Such a {@code Rectangle} is treated as non-existent along those axes.
  * Such a {@code Rectangle} is also empty with respect to containment
  * calculations and methods which test if it contains or intersects a
  * point or rectangle will always return false.
@@ -106,7 +106,7 @@
  * moved to store it into its pair of 32-bit fields then the dimensions
  * will be adjusted relative to the "best representation" of the location.
  * If the true result had a negative dimension and was therefore
- * non-existant along one or both axes, the stored dimensions will be
+ * non-existent along one or both axes, the stored dimensions will be
  * negative numbers in those axes.
  * If the true result had a location that could be represented within
  * the range of 32-bit integers, but zero dimension along one or both
@@ -381,7 +381,7 @@
             // We cannot even reach the left side of the specified
             // rectangle even with both x & width set to MAX_VALUE.
             // The intersection with the "maximal integer rectangle"
-            // is non-existant so we should use a width < 0.
+            // is non-existent so we should use a width < 0.
             // REMIND: Should we try to determine a more "meaningful"
             // adjusted value for neww than just "-1"?
             newx = Integer.MAX_VALUE;
@@ -845,7 +845,7 @@
      * represents the union of the two rectangles.
      * <p>
      * If either {@code Rectangle} has any dimension less than zero
-     * the rules for <a href=#NonExistant>non-existant</a> rectangles
+     * the rules for <a href=#NonExistent>non-existent</a> rectangles
      * apply.
      * If only one has a dimension less than zero, then the result
      * will be a copy of the other {@code Rectangle}.
@@ -867,8 +867,8 @@
         if ((tx2 | ty2) < 0) {
             // This rectangle has negative dimensions...
             // If r has non-negative dimensions then it is the answer.
-            // If r is non-existant (has a negative dimension), then both
-            // are non-existant and we can return any non-existant rectangle
+            // If r is non-existent (has a negative dimension), then both
+            // are non-existent and we can return any non-existent rectangle
             // as an answer.  Thus, returning r meets that criterion.
             // Either way, r is our answer.
             return new Rectangle(r);
@@ -905,7 +905,7 @@
      * to the bounds of this {@code Rectangle}.
      * <p>
      * If this {@code Rectangle} has any dimension less than zero,
-     * the rules for <a href=#NonExistant>non-existant</a>
+     * the rules for <a href=#NonExistent>non-existent</a>
      * rectangles apply.
      * In that case, the new bounds of this {@code Rectangle} will
      * have a location equal to the specified coordinates and
@@ -956,7 +956,7 @@
      * {@code Rectangle}.
      * <p>
      * If this {@code Rectangle} has any dimension less than zero,
-     * the rules for <a href=#NonExistant>non-existant</a>
+     * the rules for <a href=#NonExistent>non-existent</a>
      * rectangles apply.
      * In that case, the new bounds of this {@code Rectangle} will
      * have a location equal to the coordinates of the specified
@@ -1075,7 +1075,7 @@
         y1 += v;
 
         if (x1 < x0) {
-            // Non-existant in X direction
+            // Non-existent in X direction
             // Final width must remain negative so subtract x0 before
             // it is clipped so that we avoid the risk that the clipping
             // of x0 will reverse the ordering of x0 and x1.
@@ -1098,7 +1098,7 @@
         }
 
         if (y1 < y0) {
-            // Non-existant in Y direction
+            // Non-existent in Y direction
             y1 -= y0;
             if (y1 < Integer.MIN_VALUE) y1 = Integer.MIN_VALUE;
             if (y0 < Integer.MIN_VALUE) y0 = Integer.MIN_VALUE;
--- a/jdk/src/java.desktop/share/classes/java/awt/RenderingHints.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/RenderingHints.java	Wed Sep 17 16:14:12 2014 +0400
@@ -670,7 +670,7 @@
      * When images are rendered upright with no scaling onto a
      * destination, the choice of which image pixels map to which
      * device pixels is obvious and the samples at the integer
-     * coordinate locations in the image are transfered to the
+     * coordinate locations in the image are transferred to the
      * pixels at the corresponding integer locations on the device
      * pixel grid one for one.
      * When images are rendered in a scaled, rotated, or otherwise
@@ -1167,7 +1167,7 @@
 
     /**
      * Returns a <code>Collection</code> view of the values
-     * contained in this <code>RenderinHints</code>.
+     * contained in this <code>RenderingHints</code>.
      * The <code>Collection</code> is backed by the
      * <code>RenderingHints</code>, so changes to
      * the <code>RenderingHints</code> are reflected in
--- a/jdk/src/java.desktop/share/classes/java/awt/ScrollPaneAdjustable.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/ScrollPaneAdjustable.java	Wed Sep 17 16:14:12 2014 +0400
@@ -333,7 +333,7 @@
      * If the value supplied is less than the current minimum or
      * greater than the current maximum, then one of those values is
      * substituted, as appropriate. Also, creates and dispatches
-     * the AdjustementEvent with specified type and value.
+     * the AdjustmentEvent with specified type and value.
      *
      * @param v the new value of the scrollbar
      * @param type the type of the scrolling operation occurred
--- a/jdk/src/java.desktop/share/classes/java/awt/Scrollbar.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/Scrollbar.java	Wed Sep 17 16:14:12 2014 +0400
@@ -716,7 +716,7 @@
      * scroll bar, generally through a mouse or keyboard gesture
      * that the scroll bar receives as an adjustment event.
      * The unit increment must be greater than zero.
-     * Attepts to set the unit increment to a value lower than 1
+     * Attempts to set the unit increment to a value lower than 1
      * will result in a value of 1 being set.
      * <p>
      * In some operating systems, this property
@@ -794,7 +794,7 @@
      * scroll bar, generally through a mouse or keyboard gesture
      * that the scroll bar receives as an adjustment event.
      * The block increment must be greater than zero.
-     * Attepts to set the block increment to a value lower than 1
+     * Attempts to set the block increment to a value lower than 1
      * will result in a value of 1 being set.
      *
      * @param        v  the amount by which to increment or decrement
--- a/jdk/src/java.desktop/share/classes/java/awt/TextComponent.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/TextComponent.java	Wed Sep 17 16:14:12 2014 +0400
@@ -952,7 +952,7 @@
         }
 
         /**
-         * Returns the number of characters (valid indicies)
+         * Returns the number of characters (valid indices)
          *
          * @return the number of characters &gt;= 0
          */
--- a/jdk/src/java.desktop/share/classes/java/awt/Window.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/Window.java	Wed Sep 17 16:14:12 2014 +0400
@@ -684,7 +684,7 @@
      * appropriate dimensions from the beginning. If the list contains
      * several images of the same size, the first will be used.
      * <p>
-     * Ownerless windows with no icon specified use platfrom-default icon.
+     * Ownerless windows with no icon specified use platform-default icon.
      * The icon of an owned window may be inherited from the owner
      * unless explicitly overridden.
      * Setting the icon to {@code null} or empty list restores
@@ -1239,9 +1239,9 @@
     }
 
     // Should only be called while holding tree lock
-    void adjustDecendantsOnParent(int num) {
+    void adjustDescendantsOnParent(int num) {
         // do nothing since parent == owner and we shouldn't
-        // ajust counter on owner
+        // adjust counter on owner
     }
 
     /**
--- a/jdk/src/java.desktop/share/classes/java/awt/color/ICC_Profile.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/color/ICC_Profile.java	Wed Sep 17 16:14:12 2014 +0400
@@ -700,7 +700,7 @@
 
 
     /**
-     * ICC Profile Constant: tag type signaturE.
+     * ICC Profile Constant: tag type signature.
      */
     public static final int icTagType          = 0;    /* tag type signature */
 
@@ -1874,7 +1874,7 @@
             return canonicalFileName.startsWith(canonicalDirName);
         } catch (IOException e) {
             /* we do not expect the IOException here, because invocation
-             * of this function is always preceeded by isFile() call.
+             * of this function is always preceded by isFile() call.
              */
             return false;
         }
@@ -1903,7 +1903,7 @@
      * resolve the bogus deserialized profile object with one obtained
      * with getInstance as well.
      *
-     * There're two primary factory methods for construction of ICC
+     * There are two primary factory methods for construction of ICC
      * profiles: getInstance(int cspace) and getInstance(byte[] data).
      * This implementation of ICC_Profile uses the former to return a
      * cached singleton profile object, other implementations will
--- a/jdk/src/java.desktop/share/classes/java/awt/datatransfer/MimeType.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/datatransfer/MimeType.java	Wed Sep 17 16:14:12 2014 +0400
@@ -233,7 +233,7 @@
     /**
      * Remove any value associated with the given name.
      *
-     * @throw IllegalArgumentExcpetion if parameter may not be deleted
+     * @throw IllegalArgumentException if parameter may not be deleted
      */
     public void removeParameter(String name) {
         parameters.remove(name);
--- a/jdk/src/java.desktop/share/classes/java/awt/datatransfer/MimeTypeParameterList.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/datatransfer/MimeTypeParameterList.java	Wed Sep 17 16:14:12 2014 +0400
@@ -163,7 +163,7 @@
                                     lastIndex = currentIndex;
 
                                     if(currentIndex < length) {
-                                        //    find the next unescqped quote
+                                        //    find the next unescaped quote
                                         foundit = false;
                                         while((currentIndex < length) && !foundit) {
                                             currentChar = rawdata.charAt(currentIndex);
@@ -171,7 +171,7 @@
                                                 //    found an escape sequence so pass this and the next character
                                                 currentIndex += 2;
                                             } else if(currentChar == '"') {
-                                                //    foundit!
+                                                //    found it!
                                                 foundit = true;
                                             } else {
                                                 ++currentIndex;
--- a/jdk/src/java.desktop/share/classes/java/awt/datatransfer/SystemFlavorMap.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/datatransfer/SystemFlavorMap.java	Wed Sep 17 16:14:12 2014 +0400
@@ -714,7 +714,7 @@
         return returnValue;
     }
 
-    private static final String [] htmlDocumntTypes =
+    private static final String [] htmlDocumentTypes =
             new String [] {"all", "selection", "fragment"};
 
     private static LinkedHashSet<String> handleHtmlMimeTypes(String baseType,
@@ -723,7 +723,7 @@
         LinkedHashSet<String> returnValues = new LinkedHashSet<>();
 
         if (HTML_TEXT_BASE_TYPE.equals(baseType)) {
-            for (String documentType : htmlDocumntTypes) {
+            for (String documentType : htmlDocumentTypes) {
                 returnValues.add(mimeType + ";document=" + documentType);
             }
         } else {
--- a/jdk/src/java.desktop/share/classes/java/awt/dnd/DragSource.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/dnd/DragSource.java	Wed Sep 17 16:14:12 2014 +0400
@@ -547,7 +547,7 @@
     /**
      * Adds the specified <code>DragSourceListener</code> to this
      * <code>DragSource</code> to receive drag source events during drag
-     * operations intiated with this <code>DragSource</code>.
+     * operations initiated with this <code>DragSource</code>.
      * If a <code>null</code> listener is specified, no action is taken and no
      * exception is thrown.
      *
@@ -607,7 +607,7 @@
     /**
      * Adds the specified <code>DragSourceMotionListener</code> to this
      * <code>DragSource</code> to receive drag motion events during drag
-     * operations intiated with this <code>DragSource</code>.
+     * operations initiated with this <code>DragSource</code>.
      * If a <code>null</code> listener is specified, no action is taken and no
      * exception is thrown.
      *
--- a/jdk/src/java.desktop/share/classes/java/awt/dnd/DropTarget.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/dnd/DropTarget.java	Wed Sep 17 16:14:12 2014 +0400
@@ -453,7 +453,7 @@
 
         if (dtListener != null && active)
             dtListener.drop(dtde);
-        else { // we should'nt get here ...
+        else { // we shouldn't get here ...
             dtde.rejectDrop();
         }
     }
--- a/jdk/src/java.desktop/share/classes/java/awt/dnd/DropTargetListener.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/dnd/DropTargetListener.java	Wed Sep 17 16:14:12 2014 +0400
@@ -117,7 +117,7 @@
      * gesture. The <code>DropTargetDropEvent</code>
      * provides a means to obtain a <code>Transferable</code>
      * object that represents the data object(s) to
-     * be transfered.<P>
+     * be transferred.<P>
      * From this method, the <code>DropTargetListener</code>
      * shall accept or reject the drop via the
      * acceptDrop(int dropAction) or rejectDrop() methods of the
--- a/jdk/src/java.desktop/share/classes/java/awt/dnd/peer/DropTargetPeer.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/dnd/peer/DropTargetPeer.java	Wed Sep 17 16:14:12 2014 +0400
@@ -32,7 +32,7 @@
  * The DropTargetPeer class is the interface to the platform dependent
  * DnD facilities. Since the DnD system is based on the native platform's
  * facilities, a DropTargetPeer will be associated with a ComponentPeer
- * of the nearsest enclosing native Container (in the case of lightweights)
+ * of the nearest enclosing native Container (in the case of lightweights)
  * </p>
  *
  * @since 1.2
--- a/jdk/src/java.desktop/share/classes/java/awt/event/InputEvent.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/event/InputEvent.java	Wed Sep 17 16:14:12 2014 +0400
@@ -167,7 +167,7 @@
     private static final int [] BUTTON_DOWN_MASK = new int [] { BUTTON1_DOWN_MASK,
                                                                BUTTON2_DOWN_MASK,
                                                                BUTTON3_DOWN_MASK,
-                                                               1<<14, //4th phisical button (this is not a wheel!)
+                                                               1<<14, //4th physical button (this is not a wheel!)
                                                                1<<15, //(this is not a wheel!)
                                                                1<<16,
                                                                1<<17,
@@ -245,7 +245,7 @@
      */
     public static int getMaskForButton(int button) {
         if (button <= 0 || button > BUTTON_DOWN_MASK.length) {
-            throw new IllegalArgumentException("button doesn\'t exist " + button);
+            throw new IllegalArgumentException("button doesn't exist " + button);
         }
         return BUTTON_DOWN_MASK[button - 1];
     }
--- a/jdk/src/java.desktop/share/classes/java/awt/event/KeyEvent.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/event/KeyEvent.java	Wed Sep 17 16:14:12 2014 +0400
@@ -1814,7 +1814,7 @@
 
     /**
      * Sets new modifiers by the old ones. The key modifiers
-     * override overlaping mouse modifiers.
+     * override overlapping mouse modifiers.
      */
     private void setNewModifiers() {
         if ((modifiers & SHIFT_MASK) != 0) {
@@ -1863,7 +1863,7 @@
 
     /**
      * Sets new modifiers by the old ones. The key modifiers
-     * override overlaping mouse modifiers.
+     * override overlapping mouse modifiers.
      * @serial
      */
     private void readObject(ObjectInputStream s)
--- a/jdk/src/java.desktop/share/classes/java/awt/event/WindowEvent.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/event/WindowEvent.java	Wed Sep 17 16:14:12 2014 +0400
@@ -34,7 +34,7 @@
  * A low-level event that indicates that a window has changed its status. This
  * low-level event is generated by a Window object when it is opened, closed,
  * activated, deactivated, iconified, or deiconified, or when focus is
- * transfered into or out of the Window.
+ * transferred into or out of the Window.
  * <P>
  * The event is passed to every <code>WindowListener</code>
  * or <code>WindowAdapter</code> object which registered to receive such
--- a/jdk/src/java.desktop/share/classes/java/awt/event/WindowFocusListener.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/event/WindowFocusListener.java	Wed Sep 17 16:14:12 2014 +0400
@@ -39,7 +39,7 @@
  * using the <code>Window</code>'s <code>addWindowFocusListener</code> method.
  * When the <code>Window</code>'s
  * status changes by virtue of it being opened, closed, activated, deactivated,
- * iconified, or deiconified, or by focus being transfered into or out of the
+ * iconified, or deiconified, or by focus being transferred into or out of the
  * <code>Window</code>, the relevant method in the listener object is invoked,
  * and the <code>WindowEvent</code> is passed to it.
  *
--- a/jdk/src/java.desktop/share/classes/java/awt/font/GlyphVector.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/font/GlyphVector.java	Wed Sep 17 16:14:12 2014 +0400
@@ -62,7 +62,7 @@
  * A <code>GlyphVector</code> is associated with exactly one
  * <code>Font</code>, and can provide data useful only in relation to
  * this <code>Font</code>.  In addition, metrics obtained from a
- * <code>GlyphVector</code> are not generally geometrically scaleable
+ * <code>GlyphVector</code> are not generally geometrically scalable
  * since the pixelization and spacing are dependent on grid-fitting
  * algorithms within a <code>Font</code>.  To facilitate accurate
  * measurement of a <code>GlyphVector</code> and its component
--- a/jdk/src/java.desktop/share/classes/java/awt/font/ImageGraphicAttribute.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/font/ImageGraphicAttribute.java	Wed Sep 17 16:14:12 2014 +0400
@@ -58,7 +58,7 @@
     private float fOriginX, fOriginY;
 
     /**
-     * Constucts an <code>ImageGraphicAttribute</code> from the specified
+     * Constructs an <code>ImageGraphicAttribute</code> from the specified
      * {@link Image}.  The origin is at (0,&nbsp;0).
      * @param image the <code>Image</code> rendered by this
      * <code>ImageGraphicAttribute</code>.
--- a/jdk/src/java.desktop/share/classes/java/awt/font/NumericShaper.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/font/NumericShaper.java	Wed Sep 17 16:14:12 2014 +0400
@@ -89,7 +89,7 @@
  * or creating a {@code Set} with the {@link NumericShaper.Range}
  * constants, such as:
  * <blockquote><pre>
- * EnumSet.of(NumericShaper.Scirpt.ARABIC, NumericShaper.Range.TAMIL)
+ * EnumSet.of(NumericShaper.Range.ARABIC, NumericShaper.Range.TAMIL)
  * </pre></blockquote>
  * The enum-based ranges are a super set of the bit mask-based ones.
  *
@@ -475,7 +475,7 @@
     /** Identifies all ranges, for full contextual shaping.
      *
      * <p>This constant specifies all of the bit mask-based
-     * ranges. Use {@code EmunSet.allOf(NumericShaper.Range.class)} to
+     * ranges. Use {@code EnumSet.allOf(NumericShaper.Range.class)} to
      * specify all of the enum-based ranges.
      */
     public static final int ALL_RANGES = 0x0007ffff;
@@ -1068,14 +1068,14 @@
         shapingRange = defaultContext;
         rangeSet = EnumSet.copyOf(ranges); // throws NPE if ranges is null.
 
-        // Give precedance to EASTERN_ARABIC if both ARABIC and
+        // Give precedence to EASTERN_ARABIC if both ARABIC and
         // EASTERN_ARABIC are specified.
         if (rangeSet.contains(Range.EASTERN_ARABIC)
             && rangeSet.contains(Range.ARABIC)) {
             rangeSet.remove(Range.ARABIC);
         }
 
-        // As well as the above case, give precedance to TAI_THAM_THAM if both
+        // As well as the above case, give precedence to TAI_THAM_THAM if both
         // TAI_THAM_HORA and TAI_THAM_THAM are specified.
         if (rangeSet.contains(Range.TAI_THAM_THAM)
             && rangeSet.contains(Range.TAI_THAM_HORA)) {
--- a/jdk/src/java.desktop/share/classes/java/awt/font/StyledParagraph.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/font/StyledParagraph.java	Wed Sep 17 16:14:12 2014 +0400
@@ -47,7 +47,7 @@
  * on a paragraph of styled text.
  * <p>
  * Currently, this class is optimized for a small number of intervals
- * (preferrably 1).
+ * (preferably 1).
  */
 final class StyledParagraph {
 
@@ -262,7 +262,7 @@
 
     /**
      * Return the index at which there is a different Font, GraphicAttribute, or
-     * Dcoration than at the given index.
+     * Decoration than at the given index.
      * @param index a valid index in the paragraph
      * @return the first index where there is a change in attributes from
      *      those at index
--- a/jdk/src/java.desktop/share/classes/java/awt/font/TextAttribute.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/font/TextAttribute.java	Wed Sep 17 16:14:12 2014 +0400
@@ -644,7 +644,7 @@
      * be no other attributes in the <code>Map</code> except the
      * <code>FONT</code> attribute.  With <code>Map</code>-based APIs
      * the common case is to specify all attributes individually, so
-     * <code>FONT</code> is not needed or desireable.
+     * <code>FONT</code> is not needed or desirable.
      *
      * <p>However, if both <code>FONT</code> and other attributes are
      * present in the <code>Map</code>, the rendering system will
@@ -686,7 +686,7 @@
     /**
      * Attribute key for a user-defined glyph to display in lieu
      * of the font's standard glyph for a character.  Values are
-     * intances of GraphicAttribute.  The default value is null,
+     * instances of GraphicAttribute.  The default value is null,
      * indicating that the standard glyphs provided by the font
      * should be used.
      *
@@ -1098,7 +1098,7 @@
      * tracking values will inhibit formation of optional ligatures.
      * Tracking values are typically between <code>-0.1</code> and
      * <code>0.3</code>; values outside this range are generally not
-     * desireable.
+     * desirable.
      *
      * @since 1.6
      */
--- a/jdk/src/java.desktop/share/classes/java/awt/font/TextLayout.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/font/TextLayout.java	Wed Sep 17 16:14:12 2014 +0400
@@ -195,7 +195,7 @@
  *   Color selectionColor = ...;
  *   Shape selection = layout.getLogicalHighlightShape(selStart, selLimit);
  *   // selection may consist of disjoint areas
- *   // graphics is assumed to be tranlated to origin of layout
+ *   // graphics is assumed to be translated to origin of layout
  *   g.setColor(selectionColor);
  *   g.fill(selection);
  * </pre></blockquote>
@@ -292,7 +292,7 @@
     private Rectangle2D boundsRect = null;
 
     /*
-     * flag to supress/allow carets inside of ligatures when hit testing or
+     * flag to suppress/allow carets inside of ligatures when hit testing or
      * arrow-keying
      */
     private boolean caretsInLigaturesAreAllowed = false;
@@ -767,7 +767,7 @@
     }
 
     /*
-     * Utility to throw an expection if an invalid TextHitInfo is passed
+     * Utility to throw an exception if an invalid TextHitInfo is passed
      * as a parameter.  Avoids code duplication.
      */
     private void checkTextHit(TextHitInfo hit) {
@@ -833,7 +833,7 @@
      * punctuation and trailing whitespace to overhang the justification width.
      * Once justified, the layout may not be rejustified.
      * <p>
-     * Some code may rely on immutablity of layouts.  Subclassers should not
+     * Some code may rely on immutability of layouts.  Subclassers should not
      * call this directly, but instead should call getJustifiedLayout, which
      * will call this method on a clone of this layout, preserving
      * the original.
--- a/jdk/src/java.desktop/share/classes/java/awt/im/spi/InputMethod.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/im/spi/InputMethod.java	Wed Sep 17 16:14:12 2014 +0400
@@ -196,7 +196,7 @@
 
     /**
      * Dispatches the event to the input method. If input method support is
-     * enabled for the focussed component, incoming events of certain types
+     * enabled for the focused component, incoming events of certain types
      * are dispatched to the current input method for this component before
      * they are dispatched to the component's methods or event listeners.
      * The input method decides whether it needs to handle the event. If it
--- a/jdk/src/java.desktop/share/classes/java/awt/image/BufferedImage.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/image/BufferedImage.java	Wed Sep 17 16:14:12 2014 +0400
@@ -856,7 +856,7 @@
 
     /**
      * Returns the {@link WritableRaster}.
-     * @return the <code>WriteableRaster</code> of this
+     * @return the <code>WritableRaster</code> of this
      *  <code>BufferedImage</code>.
      */
     public WritableRaster getRaster() {
--- a/jdk/src/java.desktop/share/classes/java/awt/image/ColorModel.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/image/ColorModel.java	Wed Sep 17 16:14:12 2014 +0400
@@ -631,7 +631,7 @@
      *  <code>inData</code> is not large enough to hold a pixel value
      *  for this <code>ColorModel</code>
      * @throws UnsupportedOperationException if this
-     *  <code>tranferType</code> is not supported by this
+     *  <code>transferType</code> is not supported by this
      *  <code>ColorModel</code>
      */
     public int getRed(Object inData) {
@@ -698,7 +698,7 @@
      *  <code>inData</code> is not large enough to hold a pixel value
      *  for this <code>ColorModel</code>
      * @throws UnsupportedOperationException if this
-     *  <code>tranferType</code> is not supported by this
+     *  <code>transferType</code> is not supported by this
      *  <code>ColorModel</code>
      */
     public int getGreen(Object inData) {
@@ -765,7 +765,7 @@
      *  <code>inData</code> is not large enough to hold a pixel value
      *  for this <code>ColorModel</code>
      * @throws UnsupportedOperationException if this
-     *  <code>tranferType</code> is not supported by this
+     *  <code>transferType</code> is not supported by this
      *  <code>ColorModel</code>
      */
     public int getBlue(Object inData) {
@@ -1722,7 +1722,7 @@
             // is from the IEC 61966-2-1 International Standard,
             // Colour Management - Default RGB colour space - sRGB,
             // First Edition, 1999-10,
-            // avaiable for order at http://www.iec.ch
+            // available for order at http://www.iec.ch
             for (int i = 0; i <= 255; i++) {
                 input = ((float) i) / 255.0f;
                 if (input <= 0.0031308f) {
--- a/jdk/src/java.desktop/share/classes/java/awt/image/FilteredImageSource.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/image/FilteredImageSource.java	Wed Sep 17 16:14:12 2014 +0400
@@ -37,7 +37,7 @@
  * takes an existing image and a filter object and uses them to produce
  * image data for a new filtered version of the original image.
  * Here is an example which filters an image by swapping the red and
- * blue compents:
+ * blue components:
  * <pre>
  *
  *      Image src = getImage("doc:///demo/images/duke/T1.gif");
--- a/jdk/src/java.desktop/share/classes/java/awt/image/Raster.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/image/Raster.java	Wed Sep 17 16:14:12 2014 +0400
@@ -393,7 +393,7 @@
         }
         int banks = maxBank + 1;
         int size = maxBandOff +
-            scanlineStride * (h - 1) + // fisrt (h - 1) scans
+            scanlineStride * (h - 1) + // first (h - 1) scans
             w; // last scan
 
         switch(dataType) {
--- a/jdk/src/java.desktop/share/classes/java/awt/image/WritableRenderedImage.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/image/WritableRenderedImage.java	Wed Sep 17 16:14:12 2014 +0400
@@ -37,7 +37,7 @@
 import java.awt.Point;
 
 /**
- * WriteableRenderedImage is a common interface for objects which
+ * WritableRenderedImage is a common interface for objects which
  * contain or can produce image data in the form of Rasters and
  * which can be modified and/or written over.  The image
  * data may be stored/produced as a single tile or a regular array
--- a/jdk/src/java.desktop/share/classes/java/awt/image/renderable/ContextualRenderedImageFactory.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/image/renderable/ContextualRenderedImageFactory.java	Wed Sep 17 16:14:12 2014 +0400
@@ -61,7 +61,7 @@
      * alterations in the RenderContext, such as an affine mapping, or
      * operations that wish to obtain lower quality renderings of
      * their sources in order to save processing effort or
-     * transmission bandwith.  Some operations, such as blur, can also
+     * transmission bandwidth.  Some operations, such as blur, can also
      * use this mechanism to avoid obtaining sources of higher quality
      * than necessary.
      *
--- a/jdk/src/java.desktop/share/classes/java/awt/image/renderable/RenderableImage.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/image/renderable/RenderableImage.java	Wed Sep 17 16:14:12 2014 +0400
@@ -168,7 +168,7 @@
     RenderedImage createScaledRendering(int w, int h, RenderingHints hints);
 
     /**
-     * Returnd a RenderedImage instance of this image with a default
+     * Returns a RenderedImage instance of this image with a default
      * width and height in pixels.  The RenderContext is built
      * automatically with an appropriate usr2dev transform and an area
      * of interest of the full image.  The rendering hints are
--- a/jdk/src/java.desktop/share/classes/java/awt/peer/ComponentPeer.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/peer/ComponentPeer.java	Wed Sep 17 16:14:12 2014 +0400
@@ -415,7 +415,7 @@
     boolean prepareImage(Image img, int w, int h, ImageObserver o);
 
     /**
-     * Determines the status of the construction of the screen representaion
+     * Determines the status of the construction of the screen representation
      * of the specified image.
      *
      * @param img the image to check
--- a/jdk/src/java.desktop/share/classes/java/awt/print/PageFormat.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/print/PageFormat.java	Wed Sep 17 16:14:12 2014 +0400
@@ -71,7 +71,7 @@
 
     /**
      * The orientation of the current page. This will be
-     * one of the constants: PORTRIAT, LANDSCAPE, or
+     * one of the constants: PORTRAIT, LANDSCAPE, or
      * REVERSE_LANDSCAPE,
      */
     private int mOrientation = PORTRAIT;
--- a/jdk/src/java.desktop/share/classes/java/awt/print/Paper.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/print/Paper.java	Wed Sep 17 16:14:12 2014 +0400
@@ -68,7 +68,7 @@
 
     /**
      * The area of the page on which drawing will
-     * be visable. The area outside of this
+     * be visible. The area outside of this
      * rectangle but on the Page generally
      * reflects the printer's hardware margins.
      * The origin of the physical page is
--- a/jdk/src/java.desktop/share/classes/java/awt/print/PrinterJob.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/java/awt/print/PrinterJob.java	Wed Sep 17 16:14:12 2014 +0400
@@ -524,7 +524,7 @@
      * <p>
      * Note that some attributes may be set directly on the PrinterJob
      * by equivalent method calls, (for example), copies:
-     * <code>setcopies(int)</code>, job name: <code>setJobName(String)</code>
+     * <code>setCopies(int)</code>, job name: <code>setJobName(String)</code>
      * and specifying media size and orientation though the
      * <code>PageFormat</code> object.
      * <p>
--- a/jdk/src/java.desktop/share/classes/javax/swing/text/html/CSS.java	Tue Sep 16 14:58:27 2014 -0500
+++ b/jdk/src/java.desktop/share/classes/javax/swing/text/html/CSS.java	Wed Sep 17 16:14:12 2014 +0400
@@ -876,7 +876,7 @@
         int size = getFontSize(a, defaultSize, ss);
 
         /*
-         * If the vertical alignment is set to either superscirpt or
+         * If the vertical alignment is set to either superscript or
          * subscript we reduce the font size by 2 points.
          */
         StringValue vAlignV = (StringValue)a.getAttribute