Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6992716

Typos in JLayer files

XMLWordPrintable

    • b138
    • generic
    • generic
    • Verified

      Typos in JLayer files:

      javax.swing.JLayer:
          line 804 * First, implementatation of this method iterates through
          should be
          line 804 * First, implementation of this method iterates through

          line 462 * The following example shows how to correclty use this method
          should be
          line 462 * The following example shows how to correctly use this method

      javax.swing.plaf.LayerUI:
          line 41 * {@link #paint(java.awt.Graphics, javax.swing.JComponent)} method performes the
          should be
          line 41 * {@link #paint(java.awt.Graphics, javax.swing.JComponent)} method performs the

          lines 166,198,230,262,294,326,358,390,422 * public void unistallUI(JComponent c) {
          should be
          lines 166,198,230,262,294,326,358,390,422 * public void uninstallUI(JComponent c) {

          Not sure about "unregisters" in:
          line 462 * The default implementation unregisters the property change listener
          line 463 * for the passed JLayer component.

          line 492 * @return maximun size for the passed {@code JLayer}
          should be
          line 492 * @return maximum size for the passed {@code JLayer}

      Unnecessary imports in javax.swing.plaf.LayerUI:
          import javax.accessibility.Accessible;
          import javax.swing.plaf.ComponentUI;

            alexp Alexander Potochkin (Inactive)
            serb Sergey Bylokhov
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: