private void updateCityChecksSelected() {
		for (int i = 0; i < 18; i++) {
			checkboxes[i].setSelected(false);
		}
		for (int i = 3; i < 7; i++) {
			int population = gamestate.getPlayer(gamestate.getCurrentPlayer())
					.getCity(i).currentPopulation();

			for (int j = 0; j < population; j++) {
				switch (i) {
				case 3:
					checkboxes[j].setSelected(true);
					checkboxes[j].setEnabled(false);
					break;
				case 4:
					checkboxes[j + 3].setSelected(true);
					checkboxes[j].setEnabled(false);
					break;
				case 5:
					checkboxes[j + 7].setSelected(true);
					checkboxes[j].setEnabled(false);
					break;
				case 6:
					checkboxes[j + 12].setSelected(true);
					checkboxes[j].setEnabled(false);
					break;
				}
			}

		}
	}