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

Another documentation typo in javax.swing.JComponent.getPopupLocation()

XMLWordPrintable

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

      A DESCRIPTION OF THE PROBLEM :
      There's another typo in the documentation of method getPopupLocation(MouseEvent) in javax.swing.JComponent
      There is already a bug-report (http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6190823) describing the second typo in this method-comment

      The typo itself is in the last sentance of the description for the method

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      If null is returned the look and feel will choose a suitable location
      ACTUAL -
      If null is truend the look and feel will choose a suitable location

      URL OF FAULTY DOCUMENTATION :
      http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/JComponent.html#getPopupLocation(java.awt.event.MouseEvent)

            shickeysunw Shannon Hickey (Inactive)
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: