From e60e315dee8545c1ebbe897540ee14de2947f41a Mon Sep 17 00:00:00 2001 From: David Dykstal Date: Tue, 7 Nov 2006 20:06:31 +0000 Subject: [PATCH] Bug 160812 - initially select the entire contents of the userid and password fields in the password prompt dialog. --- .../org/eclipse/rse/ui/dialogs/SystemPasswordPromptDialog.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/dialogs/SystemPasswordPromptDialog.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/dialogs/SystemPasswordPromptDialog.java index e4100e848d6..e6b2e89205e 100644 --- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/dialogs/SystemPasswordPromptDialog.java +++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/dialogs/SystemPasswordPromptDialog.java @@ -257,9 +257,11 @@ public final class SystemPasswordPromptDialog extends SystemPromptDialog impleme } if (textUserId != null && userId != null) { textUserId.setText(userId); + textUserId.setSelection(0, userId.length()); } if (textPassword != null && password != null) { textPassword.setText(password); + textPassword.setSelection(0, password.length()); } }