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