JTable runesTable = new JTable();
RunePageTableModel model = new RunePageTableModel(runePage.getSlots());
runesTable.setModel(model);
TableColumnAdjuster columnAdjuster = new TableColumnAdjuster(runesTable);
int slotLength = Math.max(columnAdjuster.getColumnDataWidth(0), columnAdjuster.getColumnHeaderWidth(0));
runesTable.getColumnModel().getColumn(0).setMaxWidth(slotLength);
int nameLength = Math.max(columnAdjuster.getColumnDataWidth(1), columnAdjuster.getColumnHeaderWidth(1));
runesTable.getColumnModel().getColumn(1).setMinWidth(nameLength);
this.add(new VerticalJScrollPane(runesTable), BorderLayout.CENTER);
}