public void selectConfiguration(int id) {
   if (myTestingConfigurations != null) {
     for (CloudConfiguration configuration : myTestingConfigurations) {
       if (configuration.getId() == id) {
         getComboBox().setSelectedItem(configuration);
         return;
       }
     }
   }
 }
 @Override
 protected void customizeCellRenderer(
     JList list, Object value, int index, boolean selected, boolean hasFocus) {
   if (value == null) {
     append("[none]", SimpleTextAttributes.ERROR_ATTRIBUTES);
   } else if (value instanceof CloudConfiguration) {
     CloudConfiguration config = (CloudConfiguration) value;
     append(
         config.getDisplayName(),
         config.getDeviceConfigurationCount() < 1
             ? SimpleTextAttributes.ERROR_ATTRIBUTES
             : SimpleTextAttributes.REGULAR_ATTRIBUTES);
     setIcon(config.getIcon());
   }
 }