public void updateTable() {
		this.table = createTable();
		Integer val = (Integer) spinner.getValue();
		val = val.intValue();
		for (int j = 0; j < val + 2; j++)
			table.getColumnModel().getColumn(j).setMaxWidth(40);
		this.scrollPane.setViewportView(table);
		contentPanel.add(scrollPane, BorderLayout.CENTER);
		this.getContentPane().repaint();
	}