createLabel(composite, Messages.username, toolkit);
username = toolkit.createText(composite, getUserName(), SWT.BORDER);
username.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false));
username.addModifyListener(new ModifyListener() {
public void modifyText(ModifyEvent e) {
execute(new SetUsernameCommand(server, username.getText()));
}
});
// ------- Label and text field for the password -------
createLabel(composite, Messages.password, toolkit);