private void initView() {
		// Set up the table.
		table = new GrammarTable(model);
		table.setTableHeader(new JTableHeader(table.getColumnModel()));
		table.getTableHeader().setReorderingAllowed(false);
		table.getTableHeader().setResizingAllowed(true);
		TableColumn lhs = table.getColumnModel().getColumn(0);
		TableColumn arrows = table.getColumnModel().getColumn(1);
		TableColumn rhs = table.getColumnModel().getColumn(2);
		lhs.setHeaderValue("LHS");
		table.getTableHeader().resizeAndRepaint();
		rhs.setHeaderValue("RHS");
		table.getTableHeader().resizeAndRepaint();
		table.getColumnModel().getColumn(0).setPreferredWidth(70);
		lhs.setMaxWidth(200);
		//lhs.setMinWidth(20);
		arrows.setMaxWidth(30);
		arrows.setMinWidth(30);
		table.getColumnModel().getColumn(1).setPreferredWidth(30);
		table.setShowGrid(true);
		table.setGridColor(Color.lightGray);

		// Put the table in this pane.
		setLayout(new BorderLayout());
		add(new JScrollPane(table), BorderLayout.CENTER);
		add(new TableTextSizeSlider(table), BorderLayout.NORTH);
	}