// set the sequence indexed by index public void setSequence(int index, String sequence) { while (index >= sequences.size()) sequences.add(""); sequences.setElementAt(sequence, index); }
public void setValueAt(Object aValue, int rowIndex, int columnIndex) { if (timeList != null) { if (rowIndex < timeList.size()) timeList.setElementAt(aValue, rowIndex); else timeList.add(aValue); } }