public void addComponentsToPane(final Container pane) {
		
		JPanel mainPanel = new JPanel();
		pane.add(mainPanel);
		mainPanel.setBackground(new Color(220, 220, 220));
		mainPanel.setLayout(new BoxLayout(mainPanel, BoxLayout.PAGE_AXIS));
		
		// Shows server status TODO Get the images to load when making a JAR
		onImage = createImageIcon("/serveronimage.png");
		offImage = createImageIcon("/serveroffimage.png");
		JPanel statusPanel = new JPanel();
		mainPanel.add(statusPanel);
		serverStatus = new JLabel();
		serverStatus.setText("Server Status ");
		serverStatus.setIcon(offImage);
		serverStatus.setHorizontalTextPosition(JLabel.LEFT);
		statusPanel.add(serverStatus);
		
		display = new JEditorPane();
		display.setEditable(false);
		DefaultCaret caret = (DefaultCaret) display.getCaret();
		caret.setUpdatePolicy(DefaultCaret.ALWAYS_UPDATE);  //always scroll to bottom on text update
		//display.setBackground(Color.WHITE);
		
		JScrollPane displayScroll = new JScrollPane(display);
		displayScroll.setVerticalScrollBarPolicy(JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
		displayScroll.setPreferredSize(new Dimension(400, 200));
		displayScroll.setMinimumSize(new Dimension(10, 10));
		mainPanel.add(displayScroll);
		
		toDisplay("System", "Welcome to Danny's Chat Program (Server)\n" + helpText);
			
		JPanel userPanel = new JPanel();
		mainPanel.add(userPanel);
		
		OutgoingListener sendListener = new OutgoingListener();
		outgoing = new JTextField(31);
		outgoing.addActionListener(sendListener);
		userPanel.add(outgoing);
		
		JButton sendButton = new JButton("Send");
		sendButton.addActionListener(sendListener);
		userPanel.add(sendButton);
	}