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

JTextArea Javadoc has a wrong 'close-dd' tag in the 'Newlines' section

XMLWordPrintable

      ADDITIONAL OS VERSION INFORMATION :
      This applies for ALL the versions. The bug is only in the Javadoc. Verified with the online help

      A DESCRIPTION OF THE PROBLEM :
      This is part of the source file of the JTextArea:
       * <p>
       * <dt><b><font size=+1>Newlines</font></b>
       * <dd>
       * For a discussion on how newlines are handled, see
       * <a href="text/DefaultEditorKit.html">DefaultEditorKit</a>.
       * </dl>
       *

      As you see, the content of the paragraph 'Newlines' is inside a <dd> section, but the section is never closed (a wrong '</dl>' tag is in place of the </dd> tag), causing the entire document to be shifted to the right.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Open the Javadoc page:
      http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JTextArea.html


      REPRODUCIBILITY :
      This bug can be reproduced always.

            serb Sergey Bylokhov
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: