code: @Override
  	public void applyConfig(final ConfigSettings config)
  	{
  
  		Object o = config
  				.getConfigParameter(ConfigurationKeys.WIKIPEDIA_ENCODING);
  		if (o != null) {
  			encodingField.setText((String) o);
  		}
  		else {
  			encodingField.setText("");
  		}
  
  		o = config.getConfigParameter(ConfigurationKeys.MODE_SURROGATES);
  		if (o != null) {
  			controller.setSurrogates((SurrogateModes) o);
  		}
  		else {
  			controller.setSurrogates(SurrogateModes.DISCARD_REVISION);
  		}
  	}
docs: Reads the configuration parameters described in the panel from the
  ConfigSettings and and sets the contained values.
  
  @param config
  Reference to the ConfigSettings object