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

Doc nit: JTextPane (& JEditorPane): no <DL> around "Newlines" to match </DL>

    XMLWordPrintable

    Details

      Description

      Name: gm110360 Date: 04/08/2004


      FULL PRODUCT VERSION :


      A DESCRIPTION OF THE PROBLEM :
      JTextPane.java (and JEditorPane.java) class doc use a description list to discuss "Newlines", but does not include an open <DL>, yet it does include a close </DL> This means the <DL> </DL> are unbalanced in the javadoc, and this throws off some browsers, including Mozilla.

      A fix is to add the <DL> line before the <dt> as shown below, so the <DL> ... </DL> are now balanced.

        * <DL>
        * <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>
        *



      REPRODUCIBILITY :
      This bug can be reproduced always.
      (Incident Review ID: 246847)
      ======================================================================

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shickeysunw Shannon Hickey (Inactive)
              Reporter:
              gmanwanisunw Girish Manwani (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: