ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  Dynamically Creating PDFs in a Web Application
Subject:   Big table generation problem
Date:   2003-10-11 10:18:19
From:   anonymous2
Hi,
I am trying to generate one table. table is around has 2500 rows and 6 column and each column has its own alignment. I am getting only I can use
Cell cell = new Cell(data[i][j]);
if(j == 0||j == 3||j == 5)
cell.setHorizontalAlignment(Element.ALIGN_CENTER);
else
cell.setHorizontalAlignment(Element.ALIGN_LEFT);
table.addCell(cell,new Point(i,j));


But I am not very comfertable as it is genarating too many objects. Can you suggest me any alternative way so that I do not need to generate these many objects.


-Sanju


1 to 2 of 2
  1. Big table generation problem
    2004-03-24 01:12:45  jms_knaack [View]

    • Big table generation problem
      2006-10-29 22:16:50  abetme [View]

  2. Big table generation problem
    2003-10-18 14:39:17  anonymous2 [View]

1 to 2 of 2