last_selected_mapping_ = null;
  public void propertyChange(PropertyChangeEvent event)  {    mapping_combo_.removeAllItems();    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)          {            String[] guis = GUIModuleFactory.getModuleNames();            if (guis.length > 0)            {              for (int count = 0; count < mappings.length; ++count)              {                for (int count2 = 0; count2 < guis.length; ++count2)                {                  if (guis[count2].equals(mappings[count]))                  {                    mapping_combo_.addItem(mappings[count]);                    break;                  }                }              }            }          }        }      }    }         mapping_combo_.setEnabled(mapping_combo_.getItemCount() > 0);  }  