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

Minor modification in javadoc for JRootPane

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P5 P5
    • None
    • 5.0
    • client-libs

      A DESCRIPTION OF THE PROBLEM :
      The javadoc for JRootPane.getMenuBar() is also wrong.

      It must point to getJMenuBar(), not getJMenubar()." Java is case-sensitive language, so javadoc for JRootPane.getMenuBar must be fixed and contain link to
      getJMenuBar() with uppercase letter 'B'



      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Deprecated. As of Swing version 1.0.3 replaced by getJMenuBar().
      ACTUAL -
      Deprecated. As of Swing version 1.0.3 replaced by getJMenubar().

      URL OF FAULTY DOCUMENTATION :
      http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JRootPane.html

            shickeysunw Shannon Hickey (Inactive)
            ndcosta Nelson Dcosta (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: