// Populate table
ArrayList<Object> tableData = new ArrayList<Object>(10000);
for (int i = 0, n = tableData.getCapacity(); i < n; i++) {
TableRow tableRow = new TableRow();
tableRow.put("i", i);
tableRow.put("a", (int)Math.round(Math.random() * 10));
tableRow.put("b", (int)Math.round(Math.random() * 100));
tableRow.put("c", (int)Math.round(Math.random() * 1000));
tableRow.put("d", (int)Math.round(Math.random() * 10000));
tableData.add(tableRow);
}
sortableTableView.setTableData(tableData);