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

Bad documention in docs/api/javax/swing/event/TableColumnModelEvent.html

XMLWordPrintable

    • b82
    • x86
    • linux

      Name: rmT116609 Date: 10/15/2003


      A DESCRIPTION OF THE PROBLEM :
      Docs read:
      ===========================================================================
      TableColumnModelEvent

      public TableColumnModelEvent(TableColumnModel source,
                                   int from,
                                   int to)

          Constructs a TableColumnModelEvent object.

      Parameters:
          source - the TableColumnModel that originated the event (typically this)
          from - an int specifying the first row in a range of affected rows
          to - an int specifying the last row in a range of affected rows
      ===========================================================================

      The 'parameters' documentation is incorrect - the word 'rows' should be 'columns' for the "from" and "to" parameters

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The 'parameters' documentation is incorrect - the word 'rows' should be 'columns' for the "from" and "to" parameters
      ACTUAL -
      Parameters:
          source - the TableColumnModel that originated the event (typically this)
          from - an int specifying the first row in a range of affected rows
          to - an int specifying the last row in a range of affected rows

      URL OF FAULTY DOCUMENTATION :
      http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/event/TableColumnModelEvent.html#TableColumnModelEvent(javax.swing.table.TableColumnModel,%20int,%20int)
      (Incident Review ID: 208045)
      ======================================================================

            shickeysunw Shannon Hickey (Inactive)
            rmandalasunw Ranjith Mandala (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: