String str = sExpressions[j]; int index = Integer.valueOf( str.substring( 5, str.length( ) - 3 ) ).intValue( ) - 1; innerArray[j] = new Integer( ( (String[]) getPreviewData( ).get( i ) )[index] );
String str = sExpressions[i]; int intStart = str.lastIndexOf( ' ' ) + 1; int index = Integer.valueOf( str.substring( intStart, intStart + 1 ) ).intValue( ) - 1; innerArray[j] = new Integer( ( (String[]) getPreviewData( ).get( j ) )[index] );
	public Object[] getDataForColumns( String[] sExpressions, int iMaxRecords,			boolean byRow )	{		byRow = false;		Object[] array = new Object[ROW_COUNT];		for ( int i = 0; i < array.length; i++ )// a column		{			Object[] innerArray = new Object[sExpressions.length];// a row			for ( int j = 0; j < sExpressions.length; j++ )			{				String str = sExpressions[j];				int index = Integer.valueOf( str.substring( 5,						str.length( ) - 3 ) ).intValue( ) - 1;				innerArray[j] = new Integer( ( (String[]) getPreviewData( ).get( i ) )[index] );			}			array[i] = innerArray;		}		return array;	}