protected JMultilineLabel lblWarning;
protected CredentialDialog owner; // owner Dependency Injection to use Key listeners for username and password text fields
protected void build() {
tfUserName = new JTextField(20);
tfPassword = new JosmPasswordField(20);
tfUserName.addFocusListener(new SelectAllOnFocusHandler());
tfPassword.addFocusListener(new SelectAllOnFocusHandler());
tfUserName.addKeyListener(new TFKeyListener(owner, tfUserName, tfPassword));
tfPassword.addKeyListener(new TFKeyListener(owner, tfPassword, tfUserName));
cbSaveCredentials = new JCheckBox(owner.saveUsernameAndPasswordCheckboxText);