JComponent tutorial links to non-existing setComponentPopupMenu(String)

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P5
    • 6u10
    • Affects Version/s: 6
    • Component/s: docs
    • b02
    • x86
    • linux
    • Verified

      A DESCRIPTION OF THE PROBLEM :
      The tutorial for JComponent has a table "Setting and Getting Component State". The first method in this table is "void setComponentPopupMenu(String)". The problem is that this method doesn't exist. The correct link would be to setComponentPopupMenu(JPopupMenu popup).

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      I expected a link to setComponentPopupMenu(JPopupMenu popup).
      ACTUAL -
      In the documentation was a link to the non-existing method setComponentPopupMenu(String).

      URL OF FAULTY DOCUMENTATION :
      http://java.sun.com/docs/books/tutorial/uiswing/components/jcomponent.html

            Assignee:
            Sharon Zakhour (Inactive)
            Reporter:
            Roger Yeung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: