def setFormDefaults(self):
    nameservers_string = ', '.join(nameserver_list.InternalNameServers())
    self.nameserver_form.setStringValue_(nameservers_string)
    self.query_count.setStringValue_(self.options.query_count)
    self.query_count.setStringValue_(self.options.query_count)

    self.location.removeAllItems()
    if self.country:
      self.location.addItemWithTitle_(self.country)
      self.location.addItemWithTitle_('(Other)')
    else:
      self.location.addItemWithTitle_('(automatic)')

    self.health_performance.removeAllItems()
    self.health_performance.addItemWithTitle_('Fast')
    self.health_performance.addItemWithTitle_('Slow (unstable network)')

    self.data_source.removeAllItems()
    self.data_source.addItemsWithTitles_(self.data_src.ListSourceTitles())
Set up the form with sane initial values.
dataset/ETHPy150Open catap/namebench/cocoa/controller.py/controller.setFormDefaults