LayoutUtil.setWidthHint(fJavaDocField.getTextControl(null), converter.convertWidthInCharsToPixels(40));
LayoutUtil.setWidthHint(fJavaDocField.getTextControl(null), converter.convertWidthInCharsToPixels(10));
	public Control createContents(Composite parent) {		final Composite topComp= new Composite(parent, SWT.NONE);		GridLayout topLayout= new GridLayout();		topLayout.numColumns= 3;		topLayout.marginWidth= 0;		topLayout.marginHeight= 0;		topComp.setLayout(topLayout);		if (fElem == null) {			return topComp;		}		JDocConfigurationAdapter adapter= new JDocConfigurationAdapter();		fJavaDocField= new StringButtonDialogField(adapter);		fJavaDocField.setDialogFieldListener(adapter);		fJavaDocField.setLabelText(JavaUIMessages.getString("JavadocConfigurationBlock.location.label")); //$NON-NLS-1$		fJavaDocField.setButtonLabel(JavaUIMessages.getString("JavadocConfigurationBlock.location.button")); //$NON-NLS-1$		fJavaDocField.doFillIntoGrid(topComp, 3);		PixelConverter converter= new PixelConverter(topComp);		LayoutUtil.setWidthHint(fJavaDocField.getTextControl(null), converter.convertWidthInCharsToPixels(40));		LayoutUtil.setHorizontalGrabbing(fJavaDocField.getTextControl(null));						fValidateButton= new Button(topComp, SWT.PUSH);		fValidateButton.setText(JavaUIMessages.getString("JavadocConfigurationBlock.ValidateButton.label")); //$NON-NLS-1$		fValidateButton.setLayoutData(new GridData());		SWTUtil.setButtonDimensionHint(fValidateButton);				fValidateButton.addSelectionListener(new SelectionAdapter() {				public void widgetSelected(SelectionEvent event) {				  EntryValidator validator= new EntryValidator();				  BusyIndicator indicator= new BusyIndicator();				  indicator.showWhile(topComp.getDisplay(), validator);			}		});		setValues();				return topComp;	}