public int getRowCount() {
return this.runes.size();
}
public Object getValueAt(int row, int col) {
InventoryRune selectedObject = this.runes.get(row);
switch (columnNames[col]) {
case "#": return selectedObject.getAmount();
case "Name": return selectedObject.getRune().getName();
}
return "???";
}