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

There is a typo in RowSorterEvent constructor description

XMLWordPrintable

    • b46
    • generic
    • generic

      In javax.swing.event.RowSorterEvent specification there is written:
      -----------------------------------
      public RowSorterEvent(RowSorter source)

          Creates a RowSorterEvent of type SORT_ORDER_CHANGED.
      -----------------------------------
      public RowSorterEvent(RowSorter source,
                            RowSorterEvent.Type type,
                            int[] lastRowIndexToModel)

          Creates a RowSorterEvent of type SORT_ORDER_CHANGED. ^^^^^^^^^^^^^^^^^^
      -----------------------------------
      It seems to be a typo, because constructor public RowSorterEvent(RowSorter source, RowSorterEvent.Type type,int[] lastRowIndexToModel) has a type as parameter.



      ###@###.### 2005-07-02 10:56:15 GMT

            svioletsunw Scott Violet (Inactive)
            ynovozhi Yulia Novozhilova (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: