static void setComboBox(JComboBox cb, int k) {
		ActionListener[] al = cb.getActionListeners();
		if (al != null) {
			for (ActionListener i : al)
				cb.removeActionListener(i);
		}
		ItemListener[] il = cb.getItemListeners();
		if (il != null) {
			for (ItemListener i : il)
				cb.removeItemListener(i);
		}
		cb.setSelectedIndex(k);
		if (al != null) {
			for (ActionListener i : al)
				cb.addActionListener(i);
		}
		if (il != null) {
			for (ItemListener i : il)
				cb.addItemListener(i);
		}
	}