fontDialog.setFontData(chosenFont[0]);
	public ExtendedFontFieldEditor2( String name, String labelText, String sampleText, Composite composite ) {		init(name, labelText);		fontDialog = new FontDialog( composite.getShell() );		this.fontLabel = new Label( composite, SWT.NONE );			fontLabel.setText( labelText );		this.fontButton = new Button( composite, SWT.NONE );			fontButton.setText( "select font" );			fontButton.addSelectionListener(					new SelectionListener() {						public void widgetSelected( SelectionEvent e ) {							fontDialog.open();							if (fontDialog.getFontData() != null ) {								font = new Font( null, fontDialog.getFontData() );									chosenFont = font.getFontData();														fontSample.setFont( font );								fontSample.setSize( fontSample.computeSize( SWT.DEFAULT, SWT.DEFAULT ) );								hasChanged = true; 							}						}						public void widgetDefaultSelected( SelectionEvent e ) {													} } );		this.fontSample = new Label( composite, SWT.SHADOW_NONE );			fontSample.setText( sampleText );						GridData gridData = new GridData();			gridData.horizontalSpan = 1;			gridData.grabExcessHorizontalSpace = true;		fontSample.setLayoutData( gridData );	}