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

Small mistake in the docs of java.awt.Checkbox

XMLWordPrintable

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



      Name: skT88420 Date: 01/04/2000


      Not applicable

      In the doc
      http://java.sun.com/products/jdk/1.1/docs/api/java.awt.Checkbox.html
      the explanation of the Checkbox constructors are in the wrong order
      (both in the constructor list and in the full text constructor
      explanation. It's more a cosmetical error than a big mistake, but
      anyway it's good to have it fixed.

      The current text:

      " Checkbox(String, boolean, CheckboxGroup)
           Creates a check box with the specified label, in the specified
      check box group, and set to the specified state.
        Checkbox(String, CheckboxGroup, boolean)
           Constructs a Checkbox with the specified label, set to the
      specified state, and in the specified check box group. "

      Should be:

       Checkbox(String, boolean, CheckboxGroup)

      Constructs a Checkbox with the specified label, set to the specified
      state, and in the specified check box group.

      Checkbox(String, CheckboxGroup, boolean)

      Creates a check box with the specified label, in the specified check box
      group, and set to the specified state.
      (Review ID: 99563)
      ======================================================================

            asommere Alan Sommerer (Inactive)
            skonchad Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: