Account acct = (Account) this.accounts.get(rowIndex);
switch (columnIndex) {
case ACCT_BALANCE_COL:
return new Double(acct.getBalance());
case ACCT_NUMBER_COL:
return acct.getAccountNumber();
case ACCT_TYPE_COL:
return new Integer(acct.getAccountType());
}
throw new IllegalArgumentException("Illegal column: "
+ columnIndex);