예제 #1
0
  // set the sequence indexed by index
  public void setSequence(int index, String sequence) {
    while (index >= sequences.size()) sequences.add("");

    sequences.setElementAt(sequence, index);
  }
예제 #2
0
 public void setValueAt(Object aValue, int rowIndex, int columnIndex) {
   if (timeList != null) {
     if (rowIndex < timeList.size()) timeList.setElementAt(aValue, rowIndex);
     else timeList.add(aValue);
   }
 }