try { cb.setSelectedIndex(idx); } catch (IllegalArgumentException e) { }
try { cb.setSelectedIndex(idx); } catch (IllegalArgumentException e) {
	private void setComboBox(JComboBox cb, int idx) {		try {			cb.setSelectedIndex(idx);		} catch (IllegalArgumentException e) {		}	}