String[] header = getWizardContext( ).getDataServiceProvider( ) .getPreviewHeader( ); tablePreview.setColumns( header );
try {  String[] header = getWizardContext( ).getDataServiceProvider( ) .getPreviewHeader( ); tablePreview.setColumns( header );
	private void switchDataTable( String datasetName )	{		// Add data header		String[] header = getWizardContext( ).getDataServiceProvider( )				.getPreviewHeader( );		tablePreview.setColumns( header );		refreshTableColor( );		// Add data value		List dataList = getWizardContext( ).getDataServiceProvider( )				.getPreviewData( );		for ( Iterator iterator = dataList.iterator( ); iterator.hasNext( ); )		{			String[] dataRow = (String[]) iterator.next( );			for ( int i = 0; i < dataRow.length; i++ )			{				tablePreview.addEntry( dataRow[i], i );			}		}	}