private void createPswEntry()
	{
		content = new Composite(shell, SWT.NONE);
		content.setLayout(new FormLayout());
		FormData fd_content = new FormData();
		fd_content.top = new FormAttachment(0);
		fd_content.left = new FormAttachment(0);
		fd_content.right = new FormAttachment(100);
		fd_content.bottom = new FormAttachment(100);
		content.setLayoutData(fd_content);

		Label lblNewLabel = new Label(content, SWT.NONE);
		lblNewLabel.setAlignment(SWT.RIGHT);
		FormData fd_lblNewLabel = new FormData();
		fd_lblNewLabel.top = new FormAttachment(0, 10);
		fd_lblNewLabel.left = new FormAttachment(0, 10);
		lblNewLabel.setLayoutData(fd_lblNewLabel);
		lblNewLabel.setText(Messages.ChangePassPrompt_0);

		txtCurrentPass = new Text(content, SWT.BORDER | SWT.PASSWORD);
		fd_lblNewLabel.right = new FormAttachment(txtCurrentPass, -6);
		FormData fd_txtCurrentPass = new FormData();
		fd_txtCurrentPass.left = new FormAttachment(100, -298);
		fd_txtCurrentPass.top = new FormAttachment(0, 10);
		fd_txtCurrentPass.right = new FormAttachment(100, -10);
		txtCurrentPass.setLayoutData(fd_txtCurrentPass);

		label = new Label(content, SWT.SEPARATOR | SWT.HORIZONTAL);
		FormData fd_label = new FormData();
		fd_label.top = new FormAttachment(txtCurrentPass, 6);
		fd_label.bottom = new FormAttachment(txtCurrentPass, 7, SWT.BOTTOM);
		fd_label.right = new FormAttachment(txtCurrentPass, 0, SWT.RIGHT);
		fd_label.left = new FormAttachment(0, 10);
		label.setLayoutData(fd_label);

		lblNewLabel_1 = new Label(content, SWT.NONE);
		lblNewLabel_1.setAlignment(SWT.RIGHT);
		FormData fd_lblNewLabel_1 = new FormData();
		fd_lblNewLabel_1.left = new FormAttachment(lblNewLabel, 0, SWT.LEFT);
		fd_lblNewLabel_1.top = new FormAttachment(label, 6);
		fd_lblNewLabel_1.right = new FormAttachment(lblNewLabel, 0, SWT.RIGHT);
		lblNewLabel_1.setLayoutData(fd_lblNewLabel_1);
		lblNewLabel_1.setText(Messages.ChangePassPrompt_1);

		txtNewPassA = new Text(content, SWT.BORDER | SWT.PASSWORD);
		FormData fd_txtNewPassA = new FormData();
		fd_txtNewPassA.right = new FormAttachment(100, -10);
		fd_txtNewPassA.top = new FormAttachment(label, 6);
		fd_txtNewPassA.left = new FormAttachment(txtCurrentPass, 0, SWT.LEFT);
		txtNewPassA.setLayoutData(fd_txtNewPassA);

		txtNewPassB = new Text(content, SWT.BORDER | SWT.PASSWORD);
		FormData fd_txtNewPassB = new FormData();
		fd_txtNewPassB.left = new FormAttachment(txtCurrentPass, 0, SWT.LEFT);
		fd_txtNewPassB.top = new FormAttachment(txtNewPassA, 6);
		fd_txtNewPassB.right = new FormAttachment(txtCurrentPass, 0, SWT.RIGHT);
		txtNewPassB.setLayoutData(fd_txtNewPassB);

		lblRepeat = new Label(content, SWT.NONE);
		lblRepeat.setText(Messages.ChangePassPrompt_2);
		lblRepeat.setAlignment(SWT.RIGHT);
		FormData fd_lblRepeat = new FormData();
		fd_lblRepeat.left = new FormAttachment(0, 10);
		fd_lblRepeat.top = new FormAttachment(txtNewPassB, 0, SWT.TOP);
		fd_lblRepeat.right = new FormAttachment(lblNewLabel, 0, SWT.RIGHT);
		lblRepeat.setLayoutData(fd_lblRepeat);

		label_1 = new Label(content, SWT.SEPARATOR | SWT.HORIZONTAL);
		FormData fd_label_1 = new FormData();
		fd_label_1.top = new FormAttachment(txtNewPassB, 6);
		fd_label_1.bottom = new FormAttachment(txtNewPassB, 7, SWT.BOTTOM);
		fd_label_1.left = new FormAttachment(lblNewLabel, 0, SWT.LEFT);
		fd_label_1.right = new FormAttachment(100, -10);
		label_1.setLayoutData(fd_label_1);

		btnAbort = new Button(content, SWT.NONE);
		FormData fd_btnAbort = new FormData();
		fd_btnAbort.right = new FormAttachment(lblNewLabel, 74);
		fd_btnAbort.top = new FormAttachment(label_1, 5);
		fd_btnAbort.left = new FormAttachment(lblNewLabel, 0, SWT.LEFT);
		btnAbort.setLayoutData(fd_btnAbort);
		btnAbort.setText(Messages.ChangePassPrompt_3);
		btnAbort.addSelectionListener( new SelectionAdapter() {
			public void widgetSelected(SelectionEvent e) {
				shell.close();
			}
		});

		btnGo = new Button(content, SWT.NONE);
		FormData fd_btnGo = new FormData();
		fd_btnGo.bottom = new FormAttachment(btnAbort, 0, SWT.BOTTOM);
		fd_btnGo.top = new FormAttachment(label_1, 6);
		fd_btnGo.left = new FormAttachment(txtCurrentPass, -126);
		fd_btnGo.right = new FormAttachment(txtCurrentPass, 0, SWT.RIGHT);
		btnGo.setLayoutData(fd_btnGo);
		btnGo.addSelectionListener( new SelectionAdapter() {
			public void widgetSelected(SelectionEvent e) {
				MessageBox m;
				
				shell.setEnabled(false);

				//Check that passwords match
				if( txtNewPassA.getText().compareTo(txtNewPassB.getText()) == 0 )
				{
					boolean passOk=true;
					//Check if password is long enough, warn if it is not
					if( txtNewPassA.getText().length() < 10 )
					{
						m = new MessageBox(shell, SWT.ICON_WARNING|SWT.YES|SWT.NO);
						m.setText(Messages.ChangePassPrompt_4);
						m.setMessage(Messages.ChangePassPrompt_5);
						if( m.open() != SWT.YES )
						{
							//If user does not answer YES, then re-enable the shell and don't change password.
							passOk=false;
							shell.setEnabled(true);
						}
					}
					
					//Change the password.
					if(passOk)
					{
						if( format )
						{
							FkManager.getInstance().format( txtCurrentPass.getText(), txtNewPassA.getText(), newLayout, newBanner, mySelf );
						} else {
							FkManager.getInstance().changePass( txtCurrentPass.getText(), txtNewPassA.getText(), mySelf );
						}
					}					
					
				} else {
					m = new MessageBox(shell, SWT.ICON_ERROR);
					m.setText(Messages.ChangePassPrompt_6);
					m.setMessage(Messages.ChangePassPrompt_7);
					m.open();
					shell.setEnabled(true);
				}
			}

		});
		

		if( format )
		{
			btnGo.setText(Messages.ChangePassPrompt_8);
			setText(Messages.ChangePassPrompt_9);
		} else {
			btnGo.setText(Messages.ChangePassPrompt_10);
			setText(Messages.ChangePassPrompt_11);
		}
		
	}