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

JavaDoc comment for JTable.setRowHeight(int) has typo

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • docs
    • beta2
    • sparc
    • solaris_2.6



      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. ^^^^^^^^ ^^^
            ^^^^^^ ^^^^^^^^^^
      .........
      -----------------


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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: