tablePreview.setColumns( header );
if ( header == null ) { tablePreview.setEnabled( false ); tablePreview.createDummyTable( ); } else { tablePreview.setEnabled( true ); tablePreview.setColumns( header );
	private void switchDataTable( String datasetName )	{		try		{			// Add data header			String[] header = getDataServiceProvider( ).getPreviewHeader( );			tablePreview.setColumns( header );			refreshTableColor( );			// Add data value			List dataList = 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 );				}			}		}		catch ( ChartException e )		{			ChartWizard.displayException( e );		}	}