public void addSubtitleFileTypes(String type){
  if (!type.startsWith(".")) {
    type="." + type;
  }
  if (!subtitleFileTypes.contains(type)) {
    subtitleFileTypes.add(type);
    firePropertyChange(SUBTITLE_FILE_TYPE,null,subtitleFileTypes);
  }
}

public void addSubtitleFileTypes ( String type ) { if ( ! type . startsWith ( "." ) ) { type = "." + type ; } if ( ! subtitleFileTypes . contains ( type ) ) { subtitleFileTypes . add ( type ) ; firePropertyChange ( SUBTITLE_FILE_TYPE , null , subtitleFileTypes ) ; } }
adds the subtitle file types .
