public class RunePagePanel extends JPanel {
public RunePagePanel(RunePage runePage) {
super(new BorderLayout());
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);