Passing null to JOptionPane.showMessageDialog() causes exception

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P2
    • None
    • Affects Version/s: 1.2.0
    • Component/s: client-libs
    • None

      Check the documentation for JOptionPane.showMessageDialog().

      The documentation for Swing 0.7 says parentComponent can be null.

      However, that causes an IllegalArgumentException to be thrown.

            Assignee:
            Anne Fowler (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: