formatStr = new StringFormatter( pattern, Locale.getDefault( ) ).format( DEFAULT_PREVIEW_STRING );
formatStr = new StringFormatter( pattern, ULocale.getDefault( ) ).format( DEFAULT_PREVIEW_STRING );
	private void doPreview( String pattern )	{		String type = getSelectedDataType( );		String formatStr = ""; //$NON-NLS-1$		if ( DesignChoiceConstants.PARAM_TYPE_STRING.equals( type ) )		{			formatStr = new StringFormatter( pattern, Locale.getDefault( ) ).format( DEFAULT_PREVIEW_STRING );		}		else if ( DesignChoiceConstants.PARAM_TYPE_DATETIME.equals( type ) )		{			formatStr = new DateFormatter( pattern ).format( new Date( ) );		}		else if ( DesignChoiceConstants.PARAM_TYPE_DECIMAL.equals( type )				|| DesignChoiceConstants.PARAM_TYPE_FLOAT.equals( type ) )		{			formatStr = new NumberFormatter( pattern ).format( DEFAULT_PREVIEW_NUMBER );		}		previewLable.setText( formatStr );	}