protected void initView() {
		initTreePanel();

		// Sets up the displays.
		JComponent pt = initParseTable();
		JScrollPane parseTable = pt == null ? null : new JScrollPane(pt);
		GrammarTable g = initGrammarTable(grammar);
		JScrollPane grammarTable = new JScrollPane(g);
		
		myJListModel=new DefaultListModel();
		myStringJList=new JList(myJListModel);
		myStringJList.setLayoutOrientation(JList.HORIZONTAL_WRAP);
		
		addMultipleSelectionToJList();
		myStringJList.setVisibleRowCount(1);
		
		JScrollPane scroll=new JScrollPane(myStringJList);
		
		treeDerivationPane.add(initTreePanel(), "0");
		derivationPane = new JScrollPane(initDerivationTable());
		treeDerivationPane.add(derivationPane, "1");
		bottomSplit = SplitPaneFactory.createSplit(environment, true, 0.3,
				grammarTable, treeDerivationPane);
		topSplit = SplitPaneFactory.createSplit(environment, true, 0.4,
				parseTable, initInputPanel());
		bottomSplit=SplitPaneFactory.createSplit(environment, false, 0.52, bottomSplit, scroll);
		mainSplit = SplitPaneFactory.createSplit(environment, false, 0.3,
				topSplit, bottomSplit);
		add(mainSplit, BorderLayout.CENTER);
		add(statusDisplay, BorderLayout.SOUTH);
		add(new TableTextSizeSlider(g), BorderLayout.NORTH);
		
	}