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

JavaDoc comment for JTable.setRowHeight(int) has typo

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: docs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      beta2
    • CPU:
      sparc
    • OS:
      solaris_2.6

      Description



      Name: ooR10001 Date: 06/05/2001


      JavaDoc comment for javax.swing.JTable.setRowHeight(int) method says that the
      height of the cells in this row will be equal to the row height minus the row
      margin. But it is unclear what means 'this raw'. I suggest that correct mean is
      'all rows'. Also, 'row height' and 'row margin' must be replaced to 'cell
      height' and 'cell margin' accordingly. JavaDoc says:

      -----------------
      setRowHeight

      public void setRowHeight(int rowHeight)

            Sets the height, in pixels, of all cells to rowHeight, revalidates, and
            repaints. The height of the cells in this row will be equal to the row
            height minus the row margin. ^^^^^^^^ ^^^
            ^^^^^^ ^^^^^^^^^^
      .........
      -----------------


      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            sharonz Sharon Zakhour (Inactive)
            Reporter:
            oovsunw Oov Oov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: