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

Documentation error for class com.sun.java.swing.JOptionPane

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.3.0
    • 1.0.2
    • docs
    • kestrel
    • x86
    • windows_nt



      Name: diC59631 Date: 11/13/98


      In the documentation for Swing 1.0.3, the class com.sun.java.swing.JOptionPane
      contains an incorrect example usage, as follows:

      JOptionPane.showInternalMessageDialog(frame, INFORMATION_MESSAGE,
                  "information", "information");

      which is incorrect, it should be ...

      JOptionPane.showInternalMessageDialog(frame, "information",
      "information", INFORMATION_MESSAGE);
      (Review ID: 42633)
      ======================================================================

            sharonz Sharon Zakhour (Inactive)
            dindrigo Daniel Indrigo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: