okButton.setEnabled((userText.getText().trim().length() > 0) &&
okButton.setEnabled((userText.getText().trim().length() > 0) ||
	protected Control createDialogArea(Composite parent) {	    Composite rtnGroup = (Composite)super.createDialogArea(parent);	    getShell().setText(Policy.bind("PasswordPromptDialog.title")); //$NON-NLS-1$		GridLayout layout = new GridLayout();		layout.numColumns = 2;		rtnGroup.setLayout(layout);		rtnGroup.setLayoutData(		new GridData(GridData.HORIZONTAL_ALIGN_BEGINNING));					Label userLabel = new Label(rtnGroup, SWT.NONE);		userLabel.setText(Policy.bind("PasswordPromptDialog.username")); //$NON-NLS-1$		userText = new Text(rtnGroup, SWT.BORDER);		GridData gd = new GridData();		gd.widthHint = WIDTH;		userText.setLayoutData(gd);		userText.setText(username);				Label pwdLabel = new Label(rtnGroup, SWT.NONE);		pwdLabel.setText(Policy.bind("PasswordPromptDialog.password")); //$NON-NLS-1$		passwordText = new Text(rtnGroup, SWT.BORDER);		gd = new GridData();		gd.widthHint = WIDTH;		passwordText.setLayoutData(gd);		passwordText.setEchoChar('*');				if (maySave) {		    saveButton = new Button(rtnGroup, SWT.CHECK);		    saveButton.setText(Policy.bind("PasswordPromptDialog.save")); //$NON-NLS-1$		    gd = new GridData();		    gd.horizontalSpan = 2;		    saveButton.setLayoutData(gd);		}				ModifyListener modifyListener = new ModifyListener() {            public void modifyText(ModifyEvent me) {                okButton.setEnabled((userText.getText().trim().length() > 0) &&                 (passwordText.getText().trim().length() > 0));            }		    		};				userText.addModifyListener(modifyListener);		passwordText.addModifyListener(modifyListener);				if (username != null) passwordText.setFocus();		else userText.setFocus();				return rtnGroup;	}