}
public void setRegion(String code) {
if (comboRegions == null || comboRegions.getItemCount() == 0) return;
Region region;
for (int idx = 0; idx < comboRegions.getItemCount(); idx++) {
region = (Region) comboRegions.getItemAt(idx);
if (region.getCode().equals(code))
comboRegions.setSelectedItem(region);
}
}