useCertCheckBox.setSelected(!_factory.getClientCertificateFile().equals("")); keystoreTextField.setText(_factory.getClientCertificateFile()); keystorePassTextField.setText(_factory.getClientKeystorePassword()); keyPassTextField.setText(_factory.getClientKeyPassword());
boolean useCert = Preferences.getPreference("WebScarab.clientCertificate", "false").equals("true"); String file = Preferences.getPreference("WebScarab.clientCertificateFile",  ""); String keystorePass = Preferences.getPreference("WebScarab.keystorePassword", ""); String keyPass = Preferences.getPreference("WebScarab.keyPassword", "");  useCertCheckBox.setSelected(useCert); keystoreTextField.setText(file); keystorePassTextField.setText(keystorePass); keyPassTextField.setText(keyPass);
    private void initValues() {        useCertCheckBox.setSelected(!_factory.getClientCertificateFile().equals(""));        keystoreTextField.setText(_factory.getClientCertificateFile());        keystorePassTextField.setText(_factory.getClientKeystorePassword());        keyPassTextField.setText(_factory.getClientKeyPassword());    }