mapping_combo_.setEnabled(true); for (int count = 0; count < mappings.length; ++count)
String[] guis = GUIModuleFactory.getModuleNames(); if (guis.length > 0)
  public void propertyChange(PropertyChangeEvent event)  {    mapping_combo_.removeAllItems();    mapping_combo_.setEnabled(false);    mime_label_.setText("");        String property_name = event.getPropertyName();    if (JFileChooser.SELECTED_FILE_CHANGED_PROPERTY.equals(property_name))    {      File file = (File)event.getNewValue();      if (file != null)      {        String mime_type = MIME.getMIMETypeForFile(file);         if (mime_type != null)        {          mime_label_.setText(mime_type);                    String[] mappings =             application_.getNameMappingsForFile(file);          if (mappings != null && mappings.length > 0)          {            mapping_combo_.setEnabled(true);            for (int count = 0; count < mappings.length; ++count)            {              mapping_combo_.addItem(mappings[count]);            }          }        }      }    }       }  