DefaultTableModel.setColumnIdentifiers(columnNames) fails when count+1 new cols

XMLWordPrintable

    • merlin
    • sparc
    • solaris_2.6

      Bug in setColumnIdentifiers(columnNames) where columnNames.size() is greater than original columnCount. What happens is we assign newColumnNames to oldColumnNames without setting the ColumnCount size. Without setting the new columncount before displaying causes us to make a reference to a nothing value
      assigned to the new column. This in turn causes a ArrayIndoexOutOfBoundsException to be thrown when getValueAt(0,newColumn).
      Talked with milne@eng about this. He said that he would fix this one.

            Assignee:
            Philip Milne (Inactive)
            Reporter:
            Gary Collins (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: