private void createTextPanel() {
		textContent.removeAll();
		
		JButton textPanelMinimizeButton;
		if(appConfig.guiControlPanelShowTextPanel) {
			textPanelMinimizeButton = createFrameworkIconButton("minimizeText", "minimize.gif", "Minimize");
		} else {
			textPanelMinimizeButton = createFrameworkIconButton("maximizeText", "maximize.gif", "Maximize");
		}
		textPanelMinimizeButton.setPreferredSize(new Dimension(21, 11));
		textContent.add(textPanelMinimizeButton, JLayeredPane.PALETTE_LAYER);
		textPanelMinimizeButton.setBounds(controlPanelWidth - 26, 3, 21, 11);
		addToDisabledButtonList(textPanelMinimizeButton); // disable while simulating

		JPanel textPanel = new JPanel();						
		textPanel.setBorder(BorderFactory.createTitledBorder("Output"));
		textPanel.setLayout(new BoxLayout(textPanel, BoxLayout.Y_AXIS));
		textContent.add(textPanel, JLayeredPane.DEFAULT_LAYER);

		if(appConfig.guiControlPanelShowTextPanel) {
			JScrollPane sp = new JScrollPane(textField, 
			                                 JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED,
			                                 JScrollPane.HORIZONTAL_SCROLLBAR_NEVER);
			sp.setPreferredSize(new Dimension(controlPanelWidth, Configuration.outputTextFieldHeight));
			textField.setEditable(false);
			textField.setLineWrap(true);
			textPanel.add(sp);
			JButton clearText = super.createTextButton("ClearOutputText", "Clear", "Remove all output");
			clearText.setPreferredSize(new Dimension(60, 12));
			clearText.setFont(new Font("", 0, 11));
			addToDisabledButtonList(clearText); // disable while simulating
			JPanel p = new JPanel();
			p.setLayout(new BorderLayout());
			p.add(clearText, BorderLayout.EAST);
			textPanel.add(p);
		}
		
		// Finally set the size of the textPanel
		Dimension dim = textPanel.getPreferredSize();
		textPanel.setBounds(0, 0, controlPanelWidth, dim.height);
		textContent.setPreferredSize(dim);
	}