From 446ee9f33f9b98e8c143e7731b7fe72920e49f73 Mon Sep 17 00:00:00 2001 From: Greg Watson Date: Mon, 23 Sep 2013 15:11:03 -0400 Subject: [PATCH] Hide text in password and passphrase fields. Signed-off-by: Greg Watson --- .../internal/remote/jsch/ui/wizards/JSchConnectionPage.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/org.eclipse.remote.jsch.ui/src/org/eclipse/internal/remote/jsch/ui/wizards/JSchConnectionPage.java b/bundles/org.eclipse.remote.jsch.ui/src/org/eclipse/internal/remote/jsch/ui/wizards/JSchConnectionPage.java index b9011fa82dd..09b8c55035e 100755 --- a/bundles/org.eclipse.remote.jsch.ui/src/org/eclipse/internal/remote/jsch/ui/wizards/JSchConnectionPage.java +++ b/bundles/org.eclipse.remote.jsch.ui/src/org/eclipse/internal/remote/jsch/ui/wizards/JSchConnectionPage.java @@ -168,7 +168,7 @@ public class JSchConnectionPage extends WizardPage { Label passwordLabel = new Label(controls, SWT.NONE); passwordLabel.setText(Messages.JSchNewConnectionPage_Password); passwordLabel.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, false, false)); - fPasswordText = new Text(controls, SWT.BORDER | SWT.SINGLE); + fPasswordText = new Text(controls, SWT.BORDER | SWT.SINGLE | SWT.PASSWORD); fPasswordText.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false)); // Key option box @@ -193,7 +193,7 @@ public class JSchConnectionPage extends WizardPage { Label passphraseLabel = new Label(controls, SWT.NONE); passphraseLabel.setText(Messages.JSchNewConnectionPage_Passphrase); passphraseLabel.setLayoutData(new GridData(SWT.LEFT, SWT.CENTER, false, false)); - fPassphraseText = new Text(controls, SWT.BORDER | SWT.SINGLE); + fPassphraseText = new Text(controls, SWT.BORDER | SWT.SINGLE | SWT.PASSWORD); fPassphraseText.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false)); fPasswordButton.setSelection(true);