private void initRepo(DavRepo davRepo) { String hostName = formatHostForEdit(davRepo); this.txtHost.setText(hostName); this.txtAccountName.setText(davRepo.getUser()); this.txtPassword.setText(davRepo.getPwd()); }