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

PopupMenu spec does not specify exceptions thrown by show(Component,int,int)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.0
    • docs
    • beta
    • generic
    • generic


      The PopupMenu.show(Component,int,int) method throws a
      NullPointerException is its parent is null, and throws
      an IllegalArgumentException if the specified origin is
      not in the popupmenu's parent's hierarchy.

      The PopupMenu spec does not specify this.

            sharonz Sharon Zakhour (Inactive)
            gaurisha Gauri Sharma (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: