DefaultComboBoxModel<RoutingService> routingServiceModel = new DefaultComboBoxModel<>();
for (RoutingService service : r.getRoutingServiceFacade().getRoutingServices())
routingServiceModel.addElement(service);
routingServiceModel.setSelectedItem(r.getRoutingServiceFacade().getRoutingService());
comboBoxRoutingService.setModel(routingServiceModel);
comboBoxRoutingService.setRenderer(new RoutingServiceListCellRenderer());
comboBoxRoutingService.addItemListener(new ItemListener() {
public void itemStateChanged(ItemEvent e) {
if (e.getStateChange() != SELECTED)
return;
RoutingService service = RoutingService.class.cast(e.getItem());