public int getRowCount() {
return orders.getCount();
}
public Object getValueAt(int row, int column) {
Order order = orders.getOrder(row);
if (column == 0) return order.getID();
if (column == 1) return order.getStatus();
if (column == 2) return order.getSide();
if (column == 3) return order.getQuantity();
if (column == 4) return order.getSymbol();
if (column == 5) return order.getType();
if (column == 6) return order.getLimit();
if (column == 7) return order.getTif();
if (column == 8) return order.getExecuted();
if (column == 9) return order.getOpen();
if (column == 10) return order.getAvgPx();
if (column == 11) return order.getClientID();
if (column == 12) return order.getOrigClientID();
return new Object();
}