private JPanel createRoadtypeBox(String roadtypeString, boolean selected) {
		JPanel roadTypeBoxPanel = new JPanel(new FlowLayout(0));
		JCheckBox box = new JCheckBox(roadtypeString);
		box = setLabelFont(box);
		box.setSelected(selected);
		box.addItemListener(new ItemListener() {
			public void itemStateChanged(ItemEvent e) {
				JCheckBox box = (JCheckBox) e.getSource();
				if (box.getText().equals("Highways"))
					number = 1;
				if (box.getText().equals("Expressways"))
					number = 2;
				if (box.getText().equals("Primary roads"))
					number = 3;
				if (box.getText().equals("Secondary roads"))
					number = 4;
				if (box.getText().equals("Normal roads"))
					number = 5;
				if (box.getText().equals("Trails & streets"))
					number = 6;
				if (box.getText().equals("Paths"))
					number = 7;
				
				if (e.getStateChange() == ItemEvent.SELECTED)
					controller.updateMap(number, true);
				else
					controller.updateMap(number, false);
			}
		});
		boxes.put(roadtypeString, box);
		roadTypeBoxPanel.add(box);
		return roadTypeBoxPanel;
	}