fAntText.setText(fStore.getSpecificAntpath((IJavaProject) fWizard.getSelectedProjects().get(0)));
fAntText.setText(fStore.getSpecificAntpath((IJavaProject) fWizard.getSelectedProjects().iterator().next()));
	private void createAntGroup(Composite composite) {		Composite c= new Composite(composite, SWT.NONE);		c.setLayout(createGridLayout(3));		c.setLayoutData(createGridData(GridData.FILL_HORIZONTAL, 3, 0));		((GridLayout) c.getLayout()).marginWidth= 0;		fAntButton= createButton(c, SWT.CHECK, JavadocExportMessages.getString("JavadocSpecificsWizardPage.antscriptbutton.label"), createGridData(3)); //$NON-NLS-1$		createLabel(c, SWT.NONE, JavadocExportMessages.getString("JavadocSpecificsWizardPage.antscripttext.label"), createGridData(GridData.HORIZONTAL_ALIGN_BEGINNING, 1, 0)); //$NON-NLS-1$		fAntText= createText(c, SWT.SINGLE | SWT.BORDER, null, createGridData(GridData.FILL_HORIZONTAL, 1, 0));		//there really aught to be a way to specify this		 ((GridData) fAntText.getLayoutData()).widthHint= 200;		//if multiple projects selected anpath is empty or location of ant file		if (fWizard.getSelectedProjects().size() == 1) {			fAntText.setText(fStore.getSpecificAntpath((IJavaProject) fWizard.getSelectedProjects().get(0)));		} else			fAntText.setText(fStore.getGeneralAntpath());		fAntText.setEnabled(false);		fAntBrowseButton= createButton(c, SWT.PUSH, JavadocExportMessages.getString("JavadocSpecificsWizardPage.antscriptbrowse.label"), createGridData(GridData.HORIZONTAL_ALIGN_END, 1, 0)); //$NON-NLS-1$		SWTUtil.setButtonDimensionHint(fAntBrowseButton);		fAntBrowseButton.setEnabled(false);		fCheckbrowser= createButton(c, SWT.CHECK, JavadocExportMessages.getString("JavadocSpecificsWizardPage.openbrowserbutton.label"), createGridData(3)); //$NON-NLS-1$		fCheckbrowser.setSelection(fStore.doOpenInBrowser());		fAntButton.addSelectionListener(new ToggleSelectionAdapter(new Control[] { fAntText, fAntBrowseButton }) {			public void validate() {				doValidation(ANTSTATUS);			}		});		fAntText.addModifyListener(new ModifyListener() {			public void modifyText(ModifyEvent e) {				doValidation(ANTSTATUS);			}		});		fAntBrowseButton.addSelectionListener(new SelectionAdapter() {			public void widgetSelected(SelectionEvent event) {				String temp= fAntText.getText();				IPath path= new Path(temp);				String file= path.lastSegment();				if (file == null)					file= "javadoc.xml";//$NON-NLS-1$				path= path.removeLastSegments(1);				temp= handleFolderBrowseButtonPressed(path.toOSString(), fAntText.getShell(), JavadocExportMessages.getString("JavadocSpecificsWizardPage.antscriptbrowsedialog.title"), JavadocExportMessages.getString("JavadocSpecificsWizardPage.antscriptbrowsedialog.label")); //$NON-NLS-1$ //$NON-NLS-2$				path= new Path(temp);				path= path.addTrailingSeparator().append(file);				fAntText.setText(path.toOSString());			}		});	} //end method createExtraOptionsGroup