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

JComponent tutorial links to non-existing setComponentPopupMenu(String)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 6u10
    • 6
    • 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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: