protected void updateColour() {
		if (colourName.getSelectedIndex() == 1) {
			inputarea.setBackground(frame.ORANGE_THEME[2]);
			panelcolour = frame.ORANGE_THEME[0];
			UIManager.put("TitledBorder.border", new LineBorder(frame.ORANGE_THEME[1], 3, true));
			newColor = frame.ORANGE_THEME;
		} else if (colourName.getSelectedIndex() == 0) {
			inputarea.setBackground(frame.GREEN_THEME[2]);
			panelcolour = frame.GREEN_THEME[0];
			UIManager.put("TitledBorder.border", new LineBorder(frame.GREEN_THEME[1], 3, true));
			newColor = frame.GREEN_THEME;
		} else if (colourName.getSelectedIndex() == 2) {
			inputarea.setBackground(frame.BLUE_THEME[2]);
			panelcolour = frame.BLUE_THEME[0];
			UIManager.put("TitledBorder.border", new LineBorder(frame.BLUE_THEME[1], 3, true));
			newColor = frame.BLUE_THEME;
		} else if (colourName.getSelectedIndex() == 3) {
			inputarea.setBackground(Color.WHITE);
			panelcolour = UIManager.getColor("Panel.background");
			UIManager.put("TitledBorder.border", new EtchedBorder());
			newColor = frame.DEFAULT_THEME;
		}
		setColour();

	}