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

<CODE> typo in JMenuBar fouls up formatting for rest of page

XMLWordPrintable

      Name: gm110360 Date: 07/14/2003


      FULL PRODUCT VERSION :
      At least 1.3.1 through 1.4.2

      FULL OS VERSION :
      All

      A DESCRIPTION OF THE PROBLEM :
      In the javadocs for JMenuBar.menuSelectionChanged there is an unmatch pair of HTML formatting directives. It says:
       
      Implemented to be a <code>MenuElemen<code>t -- does nothing.

      Note that, in addition to being in the middle of the word, the above says <code>...<code> rather than <code>...</code>. The result is that it screws up the font for the rest of any javadoc page that that is included in.

      For example on http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/JMenuBar.html notice the change between menuSelectionChanged and getSubElements.

      There are probably other places as well, but I noticed this one and it has been wrong since at least 1.3. Please see this in IE as this seems alright in Netscape/Mozilla.

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

            martin Martin Buchholz
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: